From 4bc4e9c2718761880e335a90cebd80adfa5e4d9e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 1 Aug 2016 18:05:13 +0200 Subject: [PATCH] epgview: revert wrong changes in 50b3060b5a0e0924a227f4ad863805e2676d72c5 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b6fcf49a7f328f9272eac8d146f6cdb7b3cb2c48 Author: vanhofen Date: 2016-08-01 (Mon, 01 Aug 2016) Origin message was: ------------------ - epgview: revert wrong changes in 50b3060b5a0e0924a227f4ad863805e2676d72c5 ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 352c270d5..d9f1dda38 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -193,7 +193,7 @@ void CEpgData::processTextToArray(std::string text, int screening, bool has_cove //NI IMDb int poster_offset = 0; if (imdb_activ && (poster_w != 0)) - poster_offset = poster_w + 10; + poster_offset += poster_w + 10; while (*text_!=0) { @@ -270,9 +270,9 @@ void CEpgData::showText(int startPos, int ypos, bool cover, bool fullClear) int digi = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->getRenderWidth("29.."); //NI IMDb - int poster_offset = 0; + int poster_offset = cover_offset; if (imdb_activ && (poster_w != 0)) - poster_offset = poster_w + 10; + poster_offset += poster_w + 10; for(int i = 0; i < 12;i++){ max_mon_w = std::max(max_mon_w, g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->getRenderWidth(std::string(g_Locale->getText(CLocaleManager::getMonth(i))) + " "));