From ec4fdbf2309a4a796ae5db1ba97182587f8e5e98 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 21 May 2007 01:36:57 +0000 Subject: [PATCH] (filter): Don't check Mlanguage property of ic->im->langauge. --- src/input.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/input.c b/src/input.c index 0410150..3175ce0 100644 --- a/src/input.c +++ b/src/input.c @@ -3809,8 +3809,6 @@ filter (MInputContext *ic, MSymbol key, void *arg) if (mtext_nchars (ic->produced) > 0) { - MSymbol lang = msymbol_get (ic->im->language, Mlanguage); - if (mdebug__flag & mdebug_mask) { MDEBUG_PRINT (" (produced"); @@ -3819,9 +3817,8 @@ filter (MInputContext *ic, MSymbol key, void *arg) MDEBUG_PRINT (")"); } - if (lang != Mnil) - mtext_put_prop (ic->produced, 0, mtext_nchars (ic->produced), - Mlanguage, ic->im->language); + mtext_put_prop (ic->produced, 0, mtext_nchars (ic->produced), + Mlanguage, ic->im->language); } if (ic_info->commit_key_head > 0) { -- 1.7.10.4