diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-14 02:46:55 +0300 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-14 02:50:34 +0300 |
commit | 0448ae662fd777f7640a0f4486a731a6269e1997 (patch) | |
tree | a1676e87fa7b9f54fc64b1f5c915df106292c979 /src | |
parent | f5330990b14d4140731684456b24d2e11877aa8d (diff) |
Fix language initialization call order
Diffstat (limited to 'src')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index b7c4810e..93bfde5a 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -1202,15 +1202,15 @@ void InitialiseLanguage() } } - TheText.Unload(); - TheText.Load(); - #ifndef _WIN32 // TODO this is needed for strcasecmp to work correctly across all languages, but can these cause other problems?? setlocale(LC_CTYPE, "C"); setlocale(LC_COLLATE, "C"); setlocale(LC_NUMERIC, "C"); #endif + + TheText.Unload(); + TheText.Load(); } /* |