PVS: fix some more coding flaws
This commit is contained in:
@@ -302,8 +302,10 @@ void GLImageBox::getDisplayedImageAreaSize(int &dx, int &dy)
|
||||
dx = 0;
|
||||
dy = 0;
|
||||
}
|
||||
dx = ibrx - itlx + 1;
|
||||
dy = ibry - itly + 1;
|
||||
else {
|
||||
dx = ibrx - itlx + 1;
|
||||
dy = ibry - itly + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user