summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PYPBopomofoEngine.cc2
-rw-r--r--src/PYPPinyinEngine.cc2
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 &&