From dabb9d6d32f0d6c29c973a48ac3ea17364b29bbf Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 1 Jan 2014 14:42:42 +0100 Subject: [PATCH] fix sign Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1cf6ff39e46faf47e9ba9a352a509e6f72507d44 Author: Stefan Seyfried Date: 2014-01-01 (Wed, 01 Jan 2014) --- src/gui/dboxinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);