From 7bc2cb659ebeae9a9fdee0ed3cd6166fc3411f1a Mon Sep 17 00:00:00 2001 From: satbaby Date: Wed, 4 Aug 2010 17:03:47 +0000 Subject: [PATCH] fixe git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@704 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/infoviewer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index a31f598db..41e4d9a96 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -378,7 +378,10 @@ void CInfoViewer::paintCA_bar(int left, int right) left = xcnt - ((left/4)-1); frameBuffer->paintBox(ChanInfoX + (right*4), BoxEndY, BoxEndX - (left*4), BoxEndY + bottom_bar_offset, COL_BLACK); - + + if(left) + left -= 1; + for (int i = 0 + right; i < xcnt - left; i++) { for (int j = 0; j < ycnt; j++){ /* BoxEndY + 2 is the magic number that also appears in paint_ca_icons */