From d5935089738837dd8f1fc9a75d0e0c8577b3889f Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 3 Jul 2006 12:43:47 +0000 Subject: [PATCH] (win_callback): If is ic->candidate_show zero, don't push reverse property. --- src/input-gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4