summaryrefslogtreecommitdiff
path: root/src/skel
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-14 02:46:55 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-14 02:46:55 +0300
commit0f5893ed6046caa92460d73950bf782d2a200e97 (patch)
tree316bb48b7cbc93785d3dc92e0a1f961eb20feffa /src/skel
parent91902a031e2a39af11e4a6679e34d169836efdd4 (diff)
Fix language initialization call order
Diffstat (limited to 'src/skel')
-rw-r--r--src/skel/glfw/glfw.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index a73db217..418f93e4 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1231,15 +1231,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();
}
/*