forked from mia/Aegisub
Originally committed to SVN as r5909.
This commit is contained in:
parent
6152716003
commit
1452f1fbe3
1 changed files with 5 additions and 8 deletions
|
@ -104,15 +104,12 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
StartupLog("Entering FrameMain constructor");
|
StartupLog("Entering FrameMain constructor");
|
||||||
|
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
/* XXX HACK XXX
|
// XXX HACK XXX
|
||||||
* Gtk just got initialized. And if we're using the SCIM IME,
|
// We need to set LC_ALL to "" here for input methods to work reliably.
|
||||||
* it just did a setlocale(LC_ALL, ""). so, BOOM.
|
setlocale(LC_ALL, "");
|
||||||
*/
|
|
||||||
StartupLog("Setting locale");
|
// However LC_NUMERIC must be "C", otherwise some parsing fails.
|
||||||
setlocale(LC_ALL, "");
|
|
||||||
setlocale(LC_CTYPE, "C");
|
|
||||||
setlocale(LC_NUMERIC, "C");
|
setlocale(LC_NUMERIC, "C");
|
||||||
/* XXX HACK XXX */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
StartupLog("Initializing context models");
|
StartupLog("Initializing context models");
|
||||||
|
|
Loading…
Reference in a new issue