diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index ebaf731fd..8bb3fb151 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -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);