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 8cdfa0c..02b3d57 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();