From e2027d60ba6c9a78ef9539234969ef2a44bf84fe Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 6 Oct 2022 10:57:43 +0800 Subject: [PATCH] ; * src/xterm.c (x_term_init): Fix typo. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2