From: tomo Date: Mon, 17 May 1999 09:42:11 +0000 (+0000) Subject: XEmacs 21.2.4 X-Git-Tag: r21-2-4^3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=95c12d8af0e1260fa0b6ba2370e0c52333b29ba2;p=chise%2Fxemacs-chise.git.1 XEmacs 21.2.4 --- diff --git a/src/input-method-xfs.c b/src/input-method-xfs.c index ed9cd6d..655d9d6 100644 --- a/src/input-method-xfs.c +++ b/src/input-method-xfs.c @@ -42,7 +42,12 @@ Initialize_Locale (void) { char *locale; - XtSetLanguageProc (NULL, (XtLanguageProc) NULL, NULL); + /* dverna - Nov. 98: ### DON'T DO THIS !!! The default XtLanguageProc + routine calls setlocale(LC_ALL, lang) which fucks up our lower-level + locale management, and especially the value of LC_NUMERIC. Anyway, since + at this point, we don't know yet whether we're gonna need an X11 frame, + we should really do it manually and not use Xlib's dumb default routine */ + /*XtSetLanguageProc (NULL, (XtLanguageProc) NULL, NULL);*/ if ((locale = setlocale (LC_ALL, "")) == NULL) { stderr_out ("Can't set locale.\n");