mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -802,7 +802,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.auto_lang = configfile.getInt32( "auto_lang", 0 );
|
||||
for(int i = 0; i < 3; i++) {
|
||||
sprintf(cfg_key, "pref_lang_%d", i);
|
||||
g_settings.pref_lang[i] = configfile.getString(cfg_key, "");
|
||||
strncpy(g_settings.pref_lang[i], configfile.getString(cfg_key, "").c_str(), 30);
|
||||
}
|
||||
g_settings.zap_cycle = configfile.getInt32( "zap_cycle", 1 );
|
||||
g_settings.sms_channel = configfile.getInt32( "sms_channel", 0 );
|
||||
|
Reference in New Issue
Block a user