summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 37e7916486e..1d58e80f003 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -29255,7 +29255,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
/* Avoid initializing input methods if the X library does not
support Emacs's locale. When the current locale is not
supported, decoding input method strings becomes undefined. */
- if (!XSupportsLocale ())
+ if (XSupportsLocale ())
xim_initialize (dpyinfo, resource_name);
#endif