1
0
forked from mirrors/0ad

when saving an option to file, write only that value and not all the content of the user configDB, refs #3737

This was SVN commit r17738.
This commit is contained in:
mimo
2016-02-07 11:31:23 +00:00
parent 26f7a3df96
commit 43f358563c
10 changed files with 63 additions and 14 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ bool L10n::SaveLocale(const Locale& locale) const
return false;
g_ConfigDB.SetValueString(CFG_USER, "locale", locale.getName());
g_ConfigDB.WriteFile(CFG_USER);
g_ConfigDB.WriteValueToFile(CFG_USER, "locale", locale.getName());
return true;
}