summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-10-02 20:15:13 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-10-02 20:15:13 +0800
commitc1d8fdc166365afe79cf3652f156b42315440e32 (patch)
tree0bb2f6dca19facd2c7a01a4b92b77a2ff3a84c10 /client
parent624fcc1ac58ba932ea4d3418c4c79bdf991c4a18 (diff)
downloadibus-c1d8fdc166365afe79cf3652f156b42315440e32.tar.gz
ibus-c1d8fdc166365afe79cf3652f156b42315440e32.tar.xz
ibus-c1d8fdc166365afe79cf3652f156b42315440e32.zip
Fix problems in ibus-x11.
Diffstat (limited to 'client')
-rw-r--r--client/x11/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/x11/main.c b/client/x11/main.c
index 36dedc1..fff8e73 100644
--- a/client/x11/main.c
+++ b/client/x11/main.c
@@ -203,7 +203,7 @@ _xim_preedit_callback_draw (XIMS xims, X11IC *x11ic, const gchar *preedit_string
default:
continue;
}
- for (j = ibus_attr->start_index; j <= ibus_attr->end_index; j++) {
+ for (j = ibus_attr->start_index; j < ibus_attr->end_index; j++) {
feedback[j] |= attr;
}
}