Revert "setlocale for XOpenIM with compose key"

Has been fixed: https://bugzilla.libsdl.org/show_bug.cgi?id=3102

This reverts commit 6c4e6c5c44.
This commit is contained in:
def 2019-01-07 21:27:09 +01:00
parent 779a928faf
commit 1ece46aa4e

View file

@ -9,7 +9,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <climits> #include <climits>
#include <locale.h> //setlocale
#include <base/math.h> #include <base/math.h>
#include <base/vmath.h> #include <base/vmath.h>
@ -3705,9 +3704,6 @@ int main(int argc, const char **argv) // ignore_convention
FreeConsole(); FreeConsole();
#endif #endif
// For XOpenIM in SDL2: https://bugzilla.libsdl.org/show_bug.cgi?id=3102
setlocale(LC_ALL, "");
// run the client // run the client
dbg_msg("client", "starting..."); dbg_msg("client", "starting...");
pClient->Run(); pClient->Run();