projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e761d85
)
db.cpp: compare complete provider and service name
author
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 25 Jun 2009 21:24:33 +0000
(23:24 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 25 Jun 2009 21:25:10 +0000
(23:25 +0200)
lib/dvb/db.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/db.cpp
b/lib/dvb/db.cpp
index
cabc56d
..
ffc62f6
100644
(file)
--- a/
lib/dvb/db.cpp
+++ b/
lib/dvb/db.cpp
@@
-172,10
+172,10
@@
int eDVBService::checkFilter(const eServiceReferenceDVB &ref, const eDVBChannelQ
switch (query.m_type)
{
case eDVBChannelQuery::tName:
- res = m_service_name_sort
.find(query.m_string) != std::string::npos
;
+ res = m_service_name_sort
== query.m_string
;
break;
case eDVBChannelQuery::tProvider:
- res = m_provider_name
.find(query.m_string) != std::string::npos
;
+ res = m_provider_name
== query.m_string
;
break;
case eDVBChannelQuery::tType:
res = ref.getServiceType() == query.m_int;