mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
setlocale for XOpenIM with compose key
This commit is contained in:
parent
8e3550f9c6
commit
6c4e6c5c44
|
@ -7,6 +7,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <climits>
|
||||
#include <locale.h> //setlocale
|
||||
|
||||
#include <base/math.h>
|
||||
#include <base/vmath.h>
|
||||
|
@ -3395,6 +3396,9 @@ int main(int argc, const char **argv) // ignore_convention
|
|||
FreeConsole();
|
||||
#endif
|
||||
|
||||
// For XOpenIM in SDL2: https://bugzilla.libsdl.org/show_bug.cgi?id=3102
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
// run the client
|
||||
dbg_msg("client", "starting...");
|
||||
pClient->Run();
|
||||
|
|
Loading…
Reference in a new issue