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;
|
||||
if (diff < 0) {
|
||||
width -= diff;
|
||||
offsetw -= diff;
|
||||
nameWidth -= diff;
|
||||
width += diff;
|
||||
offsetw += diff;
|
||||
nameWidth += diff;
|
||||
}
|
||||
height = h_max(height, 0);
|
||||
x = getScreenStartX(width);
|
||||
|
Reference in New Issue
Block a user