From 1d27fce3d4e5cb553a9dea324349e9e94e660cd5 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 31 Aug 2016 11:14:57 +0800 Subject: combine two full/width modes into one mode --- src/ZYZPhoneticEditor.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ZYZPhoneticEditor.cc') diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc index 9073233..b05815a 100644 --- a/src/ZYZPhoneticEditor.cc +++ b/src/ZYZPhoneticEditor.cc @@ -150,7 +150,7 @@ PhoneticEditor::processSpace (guint keyval, guint keycode, if (m_text.empty ()) { assert (is_half_english (' ')); - if (m_props.modeFullEnglish ()) { + if (m_props.modeFullWidth ()) { String english; half_english_to_full_english (keyval, english); commit (english); @@ -960,7 +960,7 @@ PhoneticEditor::insertPunct (guint ch) { /* for punctuations. */ if (is_half_punct (ch)) { - if (m_props.modeFullPunct ()) { + if (m_props.modeFullWidth ()) { String choice; assert (half_punct_to_full_punct (ch, choice)); @@ -988,7 +988,7 @@ PhoneticEditor::insertEnglish (guint ch) { /* for English. */ if (is_half_english (ch)) { - if (m_props.modeFullEnglish ()) { + if (m_props.modeFullWidth ()) { String choice; assert (half_english_to_full_english (ch, choice)); -- cgit