diff options
author | Peng Wu <alexepico@gmail.com> | 2015-04-30 13:52:18 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-04-30 13:52:18 +0800 |
commit | 1cabf4648ce696050383e11c7ef402a3c4d236bf (patch) | |
tree | c8f65e4949cefe067a7bde4128728267b6bda511 /src/ZYFallbackEditor.cc | |
parent | 48073cc9e490e991282783b1ed9bdc8ed4c220be (diff) | |
download | ibus-libzhuyin-1cabf4648ce696050383e11c7ef402a3c4d236bf.tar.gz ibus-libzhuyin-1cabf4648ce696050383e11c7ef402a3c4d236bf.tar.xz ibus-libzhuyin-1cabf4648ce696050383e11c7ef402a3c4d236bf.zip |
fixes a bug in English mode
Diffstat (limited to 'src/ZYFallbackEditor.cc')
-rw-r--r-- | src/ZYFallbackEditor.cc | 8 |
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; } |