mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
fix sign
This commit is contained in:
@@ -303,9 +303,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