diff options
author | Peng Wu <alexepico@gmail.com> | 2018-03-16 16:09:14 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-03-16 16:09:14 +0800 |
commit | 20b3cebd3393d827a20c617e78be04f23181fec2 (patch) | |
tree | c1291fb7eb93b1bd6166a0a14c01d96c0705b6eb | |
parent | 535dc74babeadf5e7826acd92c7aaa5c78f4647e (diff) | |
download | ibus-libpinyin-20b3cebd3393d827a20c617e78be04f23181fec2.tar.gz ibus-libpinyin-20b3cebd3393d827a20c617e78be04f23181fec2.tar.xz ibus-libpinyin-20b3cebd3393d827a20c617e78be04f23181fec2.zip |
fixes Shift key1.9.91
-rw-r--r-- | src/PYPBopomofoEngine.cc | 2 | ||||
-rw-r--r-- | src/PYPPinyinEngine.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/PYPBopomofoEngine.cc b/src/PYPBopomofoEngine.cc index 186f697..a8a8401 100644 --- a/src/PYPBopomofoEngine.cc +++ b/src/PYPBopomofoEngine.cc @@ -88,7 +88,7 @@ BopomofoEngine::processAccelKeyEvent (guint keyval, guint keycode, if (!m_editors[MODE_INIT]->text ().empty ()) m_editors[MODE_INIT]->reset (); m_props.toggleModeChinese (); - return TRUE; + return FALSE; } if (m_input_mode == MODE_INIT && diff --git a/src/PYPPinyinEngine.cc b/src/PYPPinyinEngine.cc index ed268ae..d80d144 100644 --- a/src/PYPPinyinEngine.cc +++ b/src/PYPPinyinEngine.cc @@ -124,7 +124,7 @@ PinyinEngine::processAccelKeyEvent (guint keyval, guint keycode, if (!m_editors[MODE_INIT]->text ().empty ()) m_editors[MODE_INIT]->reset (); m_props.toggleModeChinese (); - return TRUE; + return FALSE; } if (m_input_mode == MODE_INIT && |