From: handa Date: Mon, 21 May 2007 01:36:57 +0000 (+0000) Subject: (filter): Don't check Mlanguage property of X-Git-Tag: FLT-base~46 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ec4fdbf2309a4a796ae5db1ba97182587f8e5e98;p=m17n%2Fm17n-lib.git (filter): Don't check Mlanguage property of ic->im->langauge. --- 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) {