projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f6e59
)
db: use strcmp when recreating bouquets.{tv,radio}
author
Andreas Oberritter
<obi@opendreambox.org>
Fri, 25 Mar 2011 15:35:35 +0000
(16:35 +0100)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 29 Mar 2011 13:43:58 +0000
(15:43 +0200)
lib/dvb/db.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/db.cpp
b/lib/dvb/db.cpp
index
718e088
..
0547407
100644
(file)
--- 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)";