mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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: 36a591d330
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-01-10 (Sun, 10 Jan 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -431,11 +431,11 @@ bool sectionsd_getComponentTagsUniqueKey(const event_id_t uniqueKey, CSectionsdC
|
|||||||
|
|
||||||
void CEpgData::showHead(const t_channel_id channel_id)
|
void CEpgData::showHead(const t_channel_id channel_id)
|
||||||
{
|
{
|
||||||
int pos;
|
|
||||||
std::string text1 = epgData.title;
|
std::string text1 = epgData.title;
|
||||||
std::string text2 = "";
|
std::string text2 = "";
|
||||||
if (g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getRenderWidth(text1, true) > ox - PIC_W - 5)
|
if (g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getRenderWidth(text1, true) > ox - PIC_W - 5)
|
||||||
{
|
{
|
||||||
|
int pos;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
pos = text1.find_last_of("[ .]+");
|
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;
|
break;
|
||||||
case NeutrinoMessages::EVT_CURRENTNEXT_EPG:
|
case NeutrinoMessages::EVT_CURRENTNEXT_EPG:
|
||||||
if (/*!id && */ ((*(t_channel_id *) data) == (channel_id & 0xFFFFFFFFFFFFULL))) {
|
if (/*!id && */ ((*(t_channel_id *) data) == (channel_id & 0xFFFFFFFFFFFFULL))) {
|
||||||
show(channel_id);
|
show(channel_id,0,NULL,false);
|
||||||
showPos=0;
|
showPos=0;
|
||||||
}
|
}
|
||||||
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||||
|
Reference in New Issue
Block a user