better formatting

This commit is contained in:
opa 2021-07-18 21:16:09 +09:00
parent 19721a0a5f
commit 9d3caecc3f

View File

@ -350,10 +350,12 @@ static void check_variables(CoreParameter &coreParam)
g_Config.sLanguageIni = "en_US"; g_Config.sLanguageIni = "en_US";
auto langValuesMapping = GetLangValuesMapping(); auto langValuesMapping = GetLangValuesMapping();
for(auto i = langValuesMapping.begin(); i != langValuesMapping.end(); ++i){ for (auto i = langValuesMapping.begin(); i != langValuesMapping.end(); ++i)
if(i->second.second == g_Config.iLanguage){ {
if (i->second.second == g_Config.iLanguage)
{
g_Config.sLanguageIni = i->first; g_Config.sLanguageIni = i->first;
} }
} }
i18nrepo.LoadIni(g_Config.sLanguageIni); i18nrepo.LoadIni(g_Config.sLanguageIni);