From 3229ee387d7fe9bba052b525dddf7f48ef570c94 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 5 Mar 2019 22:23:11 +0100 Subject: [PATCH] - channellist: use OFFSET defines in showdescription() function Signed-off-by: Thilo Graf --- 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 3b2e6d2f7..3d3ebf303 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2639,7 +2639,7 @@ void CChannelList::showdescription(int index) frameBuffer->paintBoxRel(x+ width,y+ theight+pig_height, infozone_width, infozone_height,COL_MENUCONTENT_PLUS_0); for (int i = 1; (i < (int)epgText.size()+1) && ((y+ theight+ pig_height + i*ffheight) < (y+ theight+ pig_height + infozone_height)); i++) - g_Font[eventFont]->RenderString(x+ width+5, y+ theight+ pig_height + i*ffheight, infozone_width - 20, epgText[i-1].first, COL_MENUCONTENTDARK_TEXT); + g_Font[eventFont]->RenderString(x+ width + OFFSET_INNER_MID, y+ theight+ pig_height + i*ffheight, infozone_width - 2*OFFSET_INNER_MID, epgText[i-1].first, COL_MENUCONTENTDARK_TEXT); } void CChannelList::addTextToArray(const std::string & text, int screening) // UTF-8