PVS: fix some more coding flaws

This commit is contained in:
wmayer
2019-03-07 14:43:16 +01:00
parent 9e86ff440f
commit 00f2bd4e62
2 changed files with 6 additions and 6 deletions

View File

@@ -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;
}
}
}