init variables

This commit is contained in:
fluxgen 2006-06-18 21:22:20 +00:00
parent 36191fb02d
commit 7d5f6e382b

View file

@ -234,8 +234,8 @@ void FbPixmap::rotate(FbTk::Orientation orient) {
// set start, end and direction based on rotation
// NOTE that startx etc are in the direction of the OLD pixmap
unsigned int startx, starty;
int dirx, diry;
unsigned int startx = 0, starty = 0;
int dirx = 0, diry = 0;
switch (orient) {
case ROT90:
startx = neww-1;