diff options
-rw-r--r-- | src/PinyinEngine.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PinyinEngine.cc b/src/PinyinEngine.cc index 26787ed..3a6259b 100644 --- a/src/PinyinEngine.cc +++ b/src/PinyinEngine.cc @@ -189,6 +189,8 @@ PinyinEngine::processNumber (guint keyval, guint keycode, guint modifiers) /* English mode */ if (G_UNLIKELY (!m_mode_chinese)) { + if (G_UNLIKELY (CMSHM_FILTER (modifiers) != 0)) + return FALSE; commit ((gunichar) m_mode_full ? HalfFullConverter::toFull (ch) : ch); return TRUE; } |