diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2011-03-25 16:35:35 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2011-03-29 15:43:58 +0200 |
| commit | 157a1d18e849c42c6a85ddc97c125ee0287bf7dc (patch) | |
| tree | eda9d147e8e5853db9173b3eaec175fe7f932ddf | |
| parent | 26f6e599f59a33b435340251d3eed2ff7786b1e3 (diff) | |
| download | enigma2-157a1d18e849c42c6a85ddc97c125ee0287bf7dc.tar.gz enigma2-157a1d18e849c42c6a85ddc97c125ee0287bf7dc.zip | |
db: use strcmp when recreating bouquets.{tv,radio}
| -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)"; |
