mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
Remove newline from event name; Up to date encoding.conf from enigma
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@474 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 66535cfc93
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-03-11 (Thu, 11 Mar 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -218,11 +218,13 @@ std::string SIevent::getName() const
|
||||
|
||||
void SIevent::setName(const std::string &lang, const std::string &name)
|
||||
{
|
||||
std::string tmp = name;
|
||||
std::replace(tmp.begin(), tmp.end(), '\n', ' ');
|
||||
//printf("setName: lang %s text %s\n", lang.c_str(), name.c_str());
|
||||
if (CSectionsdClient::LANGUAGE_MODE_OFF == SIlanguage::getMode()){
|
||||
langName[languangeOFF] = name;
|
||||
langName[languangeOFF] = tmp; //name;
|
||||
} else {
|
||||
langName[lang] = name;
|
||||
langName[lang] = tmp; //name;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user