aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-06-18 21:22:20 (GMT)
committerfluxgen <fluxgen>2006-06-18 21:22:20 (GMT)
commit7d5f6e382b7f06913c421db4357e13841e1a9632 (patch)
tree9a6c50f2769ae84fda3e31d0b04c95cca71a9360 /src/FbTk
parent36191fb02d58d84262cb1040395c6606b80328e6 (diff)
downloadfluxbox-7d5f6e382b7f06913c421db4357e13841e1a9632.zip
fluxbox-7d5f6e382b7f06913c421db4357e13841e1a9632.tar.bz2
init variables
Diffstat (limited to 'src/FbTk')
-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;