From 3a9866d8f8842f7834d8ab8e92f3d2afcdc9131b Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 10 Jan 2010 13:06:49 +0000 Subject: [PATCH] fix dual loop git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@152 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/36a591d330e0cc4ce8d36b885166145a67b082f2 Author: Jacek Jendrzej Date: 2010-01-10 (Sun, 10 Jan 2010) ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 158d0b0d7..ef90c51ce 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -431,11 +431,11 @@ bool sectionsd_getComponentTagsUniqueKey(const event_id_t uniqueKey, CSectionsdC void CEpgData::showHead(const t_channel_id channel_id) { - int pos; std::string text1 = epgData.title; std::string text2 = ""; if (g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getRenderWidth(text1, true) > ox - PIC_W - 5) { + int pos; do { pos = text1.find_last_of("[ .]+"); @@ -676,7 +676,7 @@ int CEpgData::show(const t_channel_id channel_id, unsigned long long a_id, time_ break; case NeutrinoMessages::EVT_CURRENTNEXT_EPG: if (/*!id && */ ((*(t_channel_id *) data) == (channel_id & 0xFFFFFFFFFFFFULL))) { - show(channel_id); + show(channel_id,0,NULL,false); showPos=0; } CNeutrinoApp::getInstance()->handleMsg(msg, data);