summaryrefslogtreecommitdiffstats
path: root/src/ZYZPhoneticEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-08-31 11:14:57 +0800
committerPeng Wu <alexepico@gmail.com>2016-08-31 11:14:57 +0800
commit1d27fce3d4e5cb553a9dea324349e9e94e660cd5 (patch)
tree6a2c9e0e680b3bf9b81d61f9c11e47a27e00b497 /src/ZYZPhoneticEditor.cc
parent71474edf9a20a4dd7f427620b408406f57c427b0 (diff)
downloadibus-libzhuyin-1d27fce3d4e5cb553a9dea324349e9e94e660cd5.tar.gz
ibus-libzhuyin-1d27fce3d4e5cb553a9dea324349e9e94e660cd5.tar.xz
ibus-libzhuyin-1d27fce3d4e5cb553a9dea324349e9e94e660cd5.zip
combine two full/width modes into one mode
Diffstat (limited to 'src/ZYZPhoneticEditor.cc')
-rw-r--r--src/ZYZPhoneticEditor.cc6
1 files changed, 3 insertions, 3 deletions
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));