This commit is contained in:
Stefan Seyfried
2014-01-01 14:42:42 +01:00
parent b113ef358f
commit 1cf6ff39e4

View File

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