SHA256
1
0
forked from pool/xfig
xfig/xfig.3.2.5-xim.dif

15 lines
507 B
Plaintext

--- d_text.c
+++ d_text.c 2007-05-07 00:00:00.000000000 +0200
@@ -1973,7 +1973,10 @@ xim_initialize(w)
if (xim_style == 0) xim_style = style_root;
}
}
- if (xim_style != preferred_style) {
+ if (xim_style != preferred_style
+ && *modifier_list != '\0'
+ && ! strstr(modifier_list,"@im=local")
+ && ! strstr(modifier_list,"@im=none")) {
fprintf(stderr, "xfig: this input-method doesn't support %s input style\n",
appres.xim_input_style);
if (xim_style == 0) {