diff options
| -rw-r--r-- | lib/dvb/db.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index 718e0888..05474071 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -618,13 +618,13 @@ void eDVBDB::loadBouquet(const char *path) if (!fp) { eDebug("can't open %s: %m", p.c_str()); - if ( strstr(path, "bouquets.tv") ) + if (!strcmp(path, "bouquets.tv")) { eDebug("recreate bouquets.tv"); bouquet.m_bouquet_name="Bouquets (TV)"; bouquet.flushChanges(); } - else if ( strstr(path, "bouquets.radio") ) + else if (!strcmp(path, "bouquets.radio")) { eDebug("recreate bouquets.radio"); bouquet.m_bouquet_name="Bouquets (Radio)"; |
