diff options
author | fluxgen <fluxgen> | 2006-06-18 21:22:20 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-06-18 21:22:20 (GMT) |
commit | 7d5f6e382b7f06913c421db4357e13841e1a9632 (patch) | |
tree | 9a6c50f2769ae84fda3e31d0b04c95cca71a9360 | |
parent | 36191fb02d58d84262cb1040395c6606b80328e6 (diff) | |
download | fluxbox-7d5f6e382b7f06913c421db4357e13841e1a9632.zip fluxbox-7d5f6e382b7f06913c421db4357e13841e1a9632.tar.bz2 |
init variables
-rw-r--r-- | src/FbTk/FbPixmap.cc | 4 |
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; |