fix
[enigma2.git] / lib / components / listboxepg.cpp
index d088006bc9852c23c38aa6a65fe836987188e589..0d5c541265b4908ff1d54e167780d7745132f131 100644 (file)
@@ -4,8 +4,8 @@
 
 void eListboxEPGContent::setRoot(const eServiceReference &root)
 {
-       eEPGCache *epg=NULL;
-       if ( !eEPGCache::getInstance(epg) )
+       eEPGCache *epg=eEPGCache::getInstance();
+       if ( epg )
        {
                m_list.clear();
                m_root = root;