summaryrefslogtreecommitdiffstats
path: root/src/skel/glfw/glfw.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-14 00:46:55 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-14 00:46:55 +0100
commit0f5893ed6046caa92460d73950bf782d2a200e97 (patch)
tree316bb48b7cbc93785d3dc92e0a1f961eb20feffa /src/skel/glfw/glfw.cpp
parentEnable our Linux joystick handling (diff)
downloadre3-0f5893ed6046caa92460d73950bf782d2a200e97.tar
re3-0f5893ed6046caa92460d73950bf782d2a200e97.tar.gz
re3-0f5893ed6046caa92460d73950bf782d2a200e97.tar.bz2
re3-0f5893ed6046caa92460d73950bf782d2a200e97.tar.lz
re3-0f5893ed6046caa92460d73950bf782d2a200e97.tar.xz
re3-0f5893ed6046caa92460d73950bf782d2a200e97.tar.zst
re3-0f5893ed6046caa92460d73950bf782d2a200e97.zip
Diffstat (limited to 'src/skel/glfw/glfw.cpp')
-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();
}
/*