Rework of prefered language code to support both possible iso639 codes

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0fc1a8fe07
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-18 (Thu, 18 Feb 2010)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2010-02-18 12:48:55 +00:00
parent ad699bdd5d
commit 7a314dee7c
11 changed files with 60 additions and 74 deletions

View File

@@ -177,7 +177,8 @@ bool SIlanguage::saveLanguages()
for (std::vector<std::string>::iterator it = languages.begin() ;
it != languages.end() ; ++it) {
file << " " << *it;
file << *it;
file << "\n";
if (file.fail()) goto error;
}