zapit/bouquets: ignore case when detecting favorites bouquet

Origin commit data
------------------
Branch: ni/coolstream
Commit: cc827e5e8c
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-12-29 (Sat, 29 Dec 2018)

Origin message was:
------------------
- zapit/bouquets: ignore case when detecting favorites bouquet

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-12-29 23:50:48 +01:00
parent dff4b202d6
commit 1a9a3d25b0

View File

@@ -428,7 +428,7 @@ void CBouquetManager::parseBouquetsXml(const char *fname, bool bUser)
const char* useci = xmlGetAttribute(search, "ci");
newBouquet->bHidden = hidden ? (strcmp(hidden, "1") == 0) : false;
newBouquet->bLocked = locked ? (strcmp(locked, "1") == 0) : false;
newBouquet->bFav = (strcmp(name, DEFAULT_BQ_NAME_FAV) == 0);
newBouquet->bFav = (strcasecmp(name, DEFAULT_BQ_NAME_FAV) == 0);
if (newBouquet->bFav)
newBouquet->bName = g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME);
else