fix empty expressions in dvb list search
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 28 Apr 2006 16:02:03 +0000 (16:02 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 28 Apr 2006 16:02:03 +0000 (16:02 +0000)
lib/dvb/db.cpp

index 244c2f0..2fbe53e 100644 (file)
@@ -1246,6 +1246,7 @@ RESULT eDVBChannelQuery::compile(ePtr<eDVBChannelQuery> &res, std::string query)
        if (!r && !res)
        {
                res = new eDVBChannelQuery();
        if (!r && !res)
        {
                res = new eDVBChannelQuery();
+               res->m_inverse = 0;
                res->m_type = eDVBChannelQuery::tAny;
        }
        
                res->m_type = eDVBChannelQuery::tAny;
        }