summaryrefslogtreecommitdiffstats
path: root/src/ZYZZhuyinEngine.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-06-18 14:43:41 +0800
committerPeng Wu <alexepico@gmail.com>2014-06-18 14:43:41 +0800
commitf3c8681da3073cf40f2f53e24c324a8072c13683 (patch)
tree406fe057ecb79f04c9da9f1d64c45c7c51d74e24 /src/ZYZZhuyinEngine.cc
parent1a9eb9f7355521173132c8f31f918d803811aa32 (diff)
downloadibus-libzhuyin-f3c8681da3073cf40f2f53e24c324a8072c13683.tar.gz
ibus-libzhuyin-f3c8681da3073cf40f2f53e24c324a8072c13683.tar.xz
ibus-libzhuyin-f3c8681da3073cf40f2f53e24c324a8072c13683.zip
fixes crash
Diffstat (limited to 'src/ZYZZhuyinEngine.cc')
-rw-r--r--src/ZYZZhuyinEngine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ZYZZhuyinEngine.cc b/src/ZYZZhuyinEngine.cc
index 5887076..399b3b0 100644
--- a/src/ZYZZhuyinEngine.cc
+++ b/src/ZYZZhuyinEngine.cc
@@ -108,6 +108,9 @@ ZhuyinEngine::processKeyEvent (guint keyval, guint keycode, guint modifiers)
return TRUE;
}
+ } else {
+ /* skip the key press event. */
+ return TRUE;
}
retval = m_editors[m_input_mode]->processKeyEvent (keyval, keycode, modifiers);