summaryrefslogtreecommitdiff
path: root/xc
diff options
context:
space:
mode:
authorkaleb <empty>1995-01-20 16:17:21 +0000
committerkaleb <empty>1995-01-20 16:17:21 +0000
commitcfe47dd27868a424ce872345243f6f8a1743e2d6 (patch)
tree550a0645ea4fb0a5fbd73da4bfa215feb129c06e /xc
parent0868863e796a6ef7b03a48212306bb548b555c82 (diff)
xbug ????, open an IM even if the locale is C
Diffstat (limited to 'xc')
-rw-r--r--xc/lib/Xaw/XawIm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xc/lib/Xaw/XawIm.c b/xc/lib/Xaw/XawIm.c
index 2b52336ca..b298073fd 100644
--- a/xc/lib/Xaw/XawIm.c
+++ b/xc/lib/Xaw/XawIm.c
@@ -1,4 +1,4 @@
-/* $XConsortium: XawIm.c,v 1.4 94/03/30 21:28:49 kaleb Exp $ */
+/* $XConsortium: XawIm.c,v 1.5 94/04/17 20:13:30 kaleb Exp kaleb $ */
/*
* Copyright 1991 by OMRON Corporation
@@ -57,7 +57,6 @@ in this Software without prior written authorization from the X Consortium.
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xos.h>
-#include <X11/Xlocale.h>
#include <X11/Xfuncs.h>
#include <X11/ShellP.h>
#include <X11/Xaw/TextP.h>
@@ -447,7 +446,6 @@ static void OpenIM(ve)
if (ve->im.open_im == False) return;
ve->im.xim = NULL;
- if (!strcmp(setlocale(LC_ALL, NULL), "C")) return;
if (ve->im.im_list_num <= 0) {
if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
xim = XOpenIM(XtDisplay(ve->parent), NULL, NULL, NULL);