X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Finput-method-xfs.c;h=655d9d6dbc7665236408b739c8355179463ddb5a;hb=d5e4e63d5665c99c6ae51a2a7e8dd6783400fd90;hp=ed9cd6d1fc75db3fad5c40cfd594fdd70bd31085;hpb=2e3e3f9ee27fec50f45c282d71eaddf7c673bc56;p=chise%2Fxemacs-chise.git- 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");