summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-09-08 21:05:44 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-09-08 21:05:44 +0800
commit78bc232a82e8a9f4e175c2503c133961b1efd66e (patch)
treedc76a6dff70ee24fed2eb1996f9a9837f5952770 /daemon
parentb29d6d19386286d13ff207ea05ef0d44260882a7 (diff)
downloadibus-78bc232a82e8a9f4e175c2503c133961b1efd66e.tar.gz
ibus-78bc232a82e8a9f4e175c2503c133961b1efd66e.tar.xz
ibus-78bc232a82e8a9f4e175c2503c133961b1efd66e.zip
Fix some typos.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/inputcontext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/inputcontext.py b/daemon/inputcontext.py
index 88fc44c..b3def5c 100644
--- a/daemon/inputcontext.py
+++ b/daemon/inputcontext.py
@@ -186,7 +186,7 @@ class InputContext(ibus.Object):
return self.__enable
def set_capabilities(self, caps):
- self.__support_preedit = (caps & (1 << 1)) != 0
+ self.__support_preedit = (caps & (1 << 0)) != 0
self.__support_aux_string = (caps & (1 << 1)) != 0
self.__support_lookup_table = (caps & (1 << 2)) != 0