X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/beecd41f1d27130f89fbb497fd5a582097c8d6be..9925392e576717cc0df070ace822a6f392808bb7:/lib/dvb/epgcache.cpp diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index d7515b14..c1f294a6 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -747,14 +747,6 @@ void eEPGCache::save() #endif } -RESULT eEPGCache::getInstance(eEPGCache *&ptr) -{ - ptr = instance; - if (!ptr) - return -1; - return 0; -} - eEPGCache::channel_data::channel_data(eEPGCache *ml) :cache(ml) ,abortTimer(ml), zapTimer(ml) @@ -1153,6 +1145,8 @@ RESULT eEPGCache::startTimeQuery(const eServiceReference &service, time_t begin, m_timemap_cursor = it; } } + else + m_timemap_cursor = It->second.second.begin(); return 0; } return -1;