cable name display fix for scan

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@36 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 1df4c7d4e8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2009-12-09 (Wed, 09 Dec 2009)
This commit is contained in:
[CST] Focus
2009-12-09 13:12:26 +00:00
parent 924d03d79f
commit 2e59185072

View File

@@ -485,8 +485,10 @@ void *start_scanthread(void *scanmode)
if(cable) {
strcpy(providerName, xmlGetAttribute(search, "name"));
for (spI = scanProviders.begin(); spI != scanProviders.end(); spI++)
if (!strcmp(spI->second.c_str(), providerName))
if (!strcmp(spI->second.c_str(), providerName)) {
position = spI->first;
break;
}
} else {
for (spI = scanProviders.begin(); spI != scanProviders.end(); spI++)