-correct next event info on pressed info button in channellist (copy/paste from tuxbox cvs ;) )

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@628 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-06-18 03:28:54 +00:00
parent cf8bcbde37
commit 8f8625b9f3

View File

@@ -762,7 +762,20 @@ int CChannelList::show()
}
else if ((msg == CRCInput::RC_info) || (msg == CRCInput::RC_help)) {
hide();
g_EpgData->show(chanlist[selected]->channel_id);
CChannelEvent *p_event=NULL;
if (displayNext)
{
p_event = &(chanlist[selected]->nextEvent);
}
if(p_event && p_event->eventID)
{
g_EpgData->show(chanlist[selected]->channel_id,p_event->eventID,&(p_event->startTime));
}
else
{
g_EpgData->show(chanlist[selected]->channel_id);
}
paintHead();
paint();
} else {