summaryrefslogtreecommitdiffstats
path: root/src/ZYZPhoneticEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-09-20 14:52:47 +0800
committerPeng Wu <alexepico@gmail.com>2016-09-20 14:52:47 +0800
commit4a54b6dc9d09eb2011654d4f41e433fbd19095a7 (patch)
tree92e7e29cb49a9d115d78317278de8af6601d2fe6 /src/ZYZPhoneticEditor.cc
parente07ea48d15e995d82ebe0ca9028a153fb93cb674 (diff)
downloadibus-libzhuyin-4a54b6dc9d09eb2011654d4f41e433fbd19095a7.tar.gz
ibus-libzhuyin-4a54b6dc9d09eb2011654d4f41e433fbd19095a7.tar.xz
ibus-libzhuyin-4a54b6dc9d09eb2011654d4f41e433fbd19095a7.zip
fixes insert method
Diffstat (limited to 'src/ZYZPhoneticEditor.cc')
-rw-r--r--src/ZYZPhoneticEditor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc
index f82a4b2..7794243 100644
--- a/src/ZYZPhoneticEditor.cc
+++ b/src/ZYZPhoneticEditor.cc
@@ -960,7 +960,7 @@ PhoneticEditor::insertSymbol (guint keyval, guint keycode, guint modifiers)
{
/* for symbols. */
if (is_full_width_symbol (keyval)) {
- if (m_props.modeFullWidth () || modifiers & IBUS_SHIFT_MASK) {
+ if (m_props.modeFullWidth ()) {
String choice;
assert (convert_full_width_symbol (keyval, choice));