init variables
This commit is contained in:
parent
36191fb02d
commit
7d5f6e382b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue