small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 25 Sep 2007 10:13:37 +0000 (10:13 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 25 Sep 2007 10:13:37 +0000 (10:13 +0000)
lib/dvb/epgcache.cpp

index 8cdfa0c97c1d98d51638c692d8bafb9aed895324..02b3d57e05f9e265cfa2830efc1bdfa2ca144c9a 100644 (file)
@@ -1531,7 +1531,7 @@ RESULT eEPGCache::startTimeQuery(const eServiceReference &service, time_t begin,
                }
 
                if (minutes != -1)
-                       m_timemap_end = It->second.second.upper_bound(begin+minutes*60);
+                       m_timemap_end = It->second.second.lower_bound(begin+minutes*60);
                else
                        m_timemap_end = It->second.second.end();