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 // set start, end and direction based on rotation
// NOTE that startx etc are in the direction of the OLD pixmap // NOTE that startx etc are in the direction of the OLD pixmap
unsigned int startx, starty; unsigned int startx = 0, starty = 0;
int dirx, diry; int dirx = 0, diry = 0;
switch (orient) { switch (orient) {
case ROT90: case ROT90:
startx = neww-1; startx = neww-1;