summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/FbPixmap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc
index a7c49a1..c605feb 100644
--- a/src/FbTk/FbPixmap.cc
+++ b/src/FbTk/FbPixmap.cc
@@ -234,8 +234,8 @@ void FbPixmap::rotate(FbTk::Orientation orient) {
234 234
235 // set start, end and direction based on rotation 235 // set start, end and direction based on rotation
236 // NOTE that startx etc are in the direction of the OLD pixmap 236 // NOTE that startx etc are in the direction of the OLD pixmap
237 unsigned int startx, starty; 237 unsigned int startx = 0, starty = 0;
238 int dirx, diry; 238 int dirx = 0, diry = 0;
239 switch (orient) { 239 switch (orient) {
240 case ROT90: 240 case ROT90:
241 startx = neww-1; 241 startx = neww-1;