summaryrefslogtreecommitdiff
path: root/src
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:50:34 +0300
commit0448ae662fd777f7640a0f4486a731a6269e1997 (patch)
treea1676e87fa7b9f54fc64b1f5c915df106292c979 /src
parentf5330990b14d4140731684456b24d2e11877aa8d (diff)
Fix language initialization call order
Diffstat (limited to 'src')
-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 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();
}
/*