From abff232156d59f4e7c516c856413ef1a4da26ce4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 26 Feb 2017 01:01:15 +0100 Subject: [PATCH] channelist: use OFFSET-defines for channels w/o EPG too Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1aa5e929db9197bd5c2480471b4e57712995b734 Author: vanhofen Date: 2017-02-26 (Sun, 26 Feb 2017) Origin message was: ------------------ - channelist: use OFFSET-defines for channels w/o EPG too ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index d4a139537..9f8fc22be 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2087,7 +2087,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint) pb.paint(); } //name - g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x+ 5+ numwidth+ 10+prg_offset, ypos+ fheight, width- numwidth- 40- 15-prg_offset, nameAndDescription, color); + g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x + OFFSET_INNER_SMALL + numwidth + OFFSET_INNER_MID + prg_offset, ypos + fheight, width - numwidth - 4*OFFSET_INNER_MID - 15 - prg_offset, nameAndDescription, color); } if (!firstpaint && curr == selected) updateVfd();