mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
fix constness
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@78 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 89c4a1b50b
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-16 (Wed, 16 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -369,7 +369,7 @@ void CBouquetManager::parseBouquetsXml(const xmlNodePtr root, bool bUser)
|
||||
while ((search = xmlGetNextOccurence(search, "Bouquet")) != NULL) {
|
||||
char * name = xmlGetAttribute(search, (char *) "name");
|
||||
if(name == NULL)
|
||||
name = "Unknown";
|
||||
name = const_cast<char*>("Unknown");
|
||||
//CZapitBouquet* newBouquet = addBouquet(xmlGetAttribute(search, (char *) "name"), bUser);
|
||||
CZapitBouquet* newBouquet = addBouquet(name, bUser);
|
||||
char* hidden = xmlGetAttribute(search, (char *) "hidden");
|
||||
|
Reference in New Issue
Block a user