This commit is contained in:
Stefan Seyfried
2014-01-01 14:42:42 +01:00
committed by svenhoefer
parent 34a2d55385
commit 6a158066d0

View File

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