changeset 2333:6677cdbfbafd

fix default locale for Windows
author jodogne
date Sat, 15 Jul 2017 11:06:59 +0200
parents 9ccd7f926c5b
children dd26536454a0
files Core/Toolbox.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Sat Jul 15 10:59:42 2017 +0200
+++ b/Core/Toolbox.cpp	Sat Jul 15 11:06:59 2017 +0200
@@ -1261,8 +1261,8 @@
     // Make Orthanc use English, United States locale
 
 #if defined(_WIN32)
-    // For Windows: use default locale (one might use "en-US" instead)
-    static const char* DEFAULT_LOCALE = NULL;
+    // For Windows: use default locale (one might use "en_US" instead)
+    static const char* DEFAULT_LOCALE = "";
 #else
     // For Linux & cie
     static const char* DEFAULT_LOCALE = "en_US.UTF-8";