summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-04-30 13:52:18 +0800
committerPeng Wu <alexepico@gmail.com>2015-04-30 13:52:18 +0800
commit1cabf4648ce696050383e11c7ef402a3c4d236bf (patch)
treec8f65e4949cefe067a7bde4128728267b6bda511
parent48073cc9e490e991282783b1ed9bdc8ed4c220be (diff)
downloadibus-libzhuyin-1cabf4648ce696050383e11c7ef402a3c4d236bf.tar.gz
ibus-libzhuyin-1cabf4648ce696050383e11c7ef402a3c4d236bf.tar.xz
ibus-libzhuyin-1cabf4648ce696050383e11c7ef402a3c4d236bf.zip
fixes a bug in English mode
-rw-r--r--src/ZYFallbackEditor.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ZYFallbackEditor.cc b/src/ZYFallbackEditor.cc
index 37b28fc..cca8578 100644
--- a/src/ZYFallbackEditor.cc
+++ b/src/ZYFallbackEditor.cc
@@ -45,13 +45,7 @@ FallbackEditor::processPunct (guint keyval, guint keycode, guint modifiers)
/* Punctuation character */
if (is_half_punct (keyval)) {
- if (G_UNLIKELY (m_props.modeFullPunct ())) {
- String punct;
- half_punct_to_full_punct (keyval, punct);
- commit (punct);
- } else {
- commit (keyval);
- }
+ commit (keyval);
return TRUE;
}