mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
setLocale in C (not std C++)
This commit is contained in:
@@ -19,7 +19,7 @@ static string settingsFilename = "";
|
||||
void Settings::Save()
|
||||
{
|
||||
// impose C locale for all app
|
||||
std::setlocale(LC_ALL, "C");
|
||||
setlocale(LC_ALL, "C");
|
||||
|
||||
XMLDocument xmlDoc;
|
||||
XMLDeclaration *pDec = xmlDoc.NewDeclaration();
|
||||
@@ -221,7 +221,7 @@ void Settings::Save()
|
||||
void Settings::Load()
|
||||
{
|
||||
// impose C locale for all app
|
||||
std::setlocale(LC_ALL, "C");
|
||||
setlocale(LC_ALL, "C");
|
||||
|
||||
XMLDocument xmlDoc;
|
||||
if (settingsFilename.empty())
|
||||
|
||||
Reference in New Issue
Block a user