From 1cabf4648ce696050383e11c7ef402a3c4d236bf Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 30 Apr 2015 13:52:18 +0800 Subject: fixes a bug in English mode --- src/ZYFallbackEditor.cc | 8 +------- 1 file changed, 1 insertion(+), 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; } -- cgit