mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 17:46:18 +00:00
Fixed: Compilation
This commit is contained in:
parent
05fdcff906
commit
6f1ec88d51
1 changed files with 1 additions and 3 deletions
|
@ -382,11 +382,9 @@ std::string CI18N::getSystemLanguageCode ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
std::string lang = NLMISC::toLower(lang);
|
|
||||||
|
|
||||||
// only keep 2 first characters
|
// only keep 2 first characters
|
||||||
if (lang.size() > 1)
|
if (lang.size() > 1)
|
||||||
_SystemLanguageCode = lang.substr(0, 2);
|
_SystemLanguageCode = NLMISC::toLower(lang).substr(0, 2);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue