From: handa Date: Mon, 3 Jul 2006 12:43:47 +0000 (+0000) Subject: (win_callback): If is ic->candidate_show zero, don't X-Git-Tag: REL-1-3-4~145 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5935089738837dd8f1fc9a75d0e0c8577b3889f;p=m17n%2Fm17n-lib.git (win_callback): If is ic->candidate_show zero, don't push reverse property. --- diff --git a/src/input-gui.c b/src/input-gui.c index b1e3ae5..eac22ce 100644 --- a/src/input-gui.c +++ b/src/input-gui.c @@ -310,7 +310,7 @@ win_callback (MInputContext *ic, MSymbol command) if (ic->im->language != Mnil) mtext_put_prop (ic->preedit, 0, mtext_nchars (ic->preedit), Mlanguage, ic->im->language); - if (ic->candidate_list) + if (ic->candidate_list && ic->candidate_show) mtext_push_prop (ic->preedit, ic->candidate_from, ic->candidate_to, Mface, mface_reverse_video); if (mtext_nchars (ic->produced) == 0)