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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8f8625b9f3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-06-18 (Fri, 18 Jun 2010)

Origin message was:
------------------
-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 was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-06-18 03:28:54 +00:00
parent e3aab57abc
commit 93dc924c1d

View File

@@ -762,7 +762,20 @@ int CChannelList::show()
} }
else if ((msg == CRCInput::RC_info) || (msg == CRCInput::RC_help)) { else if ((msg == CRCInput::RC_info) || (msg == CRCInput::RC_help)) {
hide(); hide();
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); g_EpgData->show(chanlist[selected]->channel_id);
}
paintHead(); paintHead();
paint(); paint();
} else { } else {