- channellist.cpp: fix wrong time for no further events

patch by TangoCash. thx!
This commit is contained in:
svenhoefer
2013-02-05 00:58:31 +01:00
parent e07e95bfb2
commit 3bdb3bbc07

View File

@@ -2114,6 +2114,7 @@ void CChannelList::paint_events(int index)
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS); evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
evt.eventID = 0; evt.eventID = 0;
evt.startTime = time_t(82800);
evtlist.push_back(evt); evtlist.push_back(evt);
} }
@@ -2170,6 +2171,7 @@ void CChannelList::readEvents(const t_channel_id channel_id)
CChannelEvent evt; CChannelEvent evt;
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS); evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
evt.eventID = 0; evt.eventID = 0;
evt.startTime = time_t(82800);
evtlist.push_back(evt); evtlist.push_back(evt);
} }
else else