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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user