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
This commit is contained in:
focus
2010-03-11 17:39:49 +00:00
parent 3fcf105374
commit 66535cfc93
7 changed files with 92 additions and 7 deletions

View File

@@ -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;
}
}

View File

@@ -141,6 +141,8 @@ static int get_table(unsigned char hi, unsigned char mid, unsigned char lo)
return 5;
else if(!strcmp(lang, "bul"))
return 5;
else if(!strcmp(lang, "ara"))
return 6;
return 0;
}