1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-07 23:02:07 +00:00

Fix locale related oversights

This commit is contained in:
fgenesis 2012-07-11 04:50:19 +02:00
commit 345ff6063b
3 changed files with 61 additions and 64 deletions

View file

@ -49,13 +49,11 @@ void UserSettings::save()
}
xml_system.InsertEndChild(xml_debugLog);
if (!system.isSystemLocale) {
TiXmlElement xml_locale("Locale");
{
xml_locale.SetAttribute("name", system.locale);
}
xml_system.InsertEndChild(xml_locale);
TiXmlElement xml_locale("Locale");
{
xml_locale.SetAttribute("name", system.locale);
}
xml_system.InsertEndChild(xml_locale);
}
doc.InsertEndChild(xml_system);