mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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;
|
||||
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