From eec30dfb1a2d45f85eacb38a436da98ab418fed4 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 27 Dec 2013 21:30:42 +0100 Subject: [PATCH] - dboxinfo: fix space between sections --- src/gui/dboxinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index 4925f1138..c9fbd1c3b 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -309,7 +309,7 @@ void CDBoxInfoWidget::paint() COL_MENUHEAD_TEXT, 0, true); // UTF-8 frameBuffer->paintIcon(iconfile, x + fw/4, y, hheight); - ypos+= hheight + (mheight >>1); + ypos+= hheight + (mheight/2); FILE* fd = fopen("/proc/cpuinfo", "rt"); if (fd==NULL) { printf("error while opening proc-cpuinfo\n" ); @@ -461,7 +461,7 @@ void CDBoxInfoWidget::paint() } ypos+= mheight; } - ypos+= mheight; + ypos+= mheight/2; // paint mount head for (int j = 0; j < headSize; j++) {