mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
fix sign
This commit is contained in:
committed by
svenhoefer
parent
34a2d55385
commit
6a158066d0
@@ -294,9 +294,9 @@ void CDBoxInfoWidget::paint()
|
|||||||
|
|
||||||
int diff = frameBuffer->getScreenWidth() - width;
|
int diff = frameBuffer->getScreenWidth() - width;
|
||||||
if (diff < 0) {
|
if (diff < 0) {
|
||||||
width -= diff;
|
width += diff;
|
||||||
offsetw -= diff;
|
offsetw += diff;
|
||||||
nameWidth -= diff;
|
nameWidth += diff;
|
||||||
}
|
}
|
||||||
height = h_max(height, 0);
|
height = h_max(height, 0);
|
||||||
x = getScreenStartX(width);
|
x = getScreenStartX(width);
|
||||||
|
Reference in New Issue
Block a user