summaryrefslogtreecommitdiffstats
path: root/src/ZYZPhoneticEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZPhoneticEditor.cc')
-rw-r--r--src/ZYZPhoneticEditor.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc
index c7b57ff..a506a1b 100644
--- a/src/ZYZPhoneticEditor.cc
+++ b/src/ZYZPhoneticEditor.cc
@@ -954,7 +954,10 @@ PhoneticEditor::insertSymbol (guint keyval, guint keycode, guint modifiers)
if (is_special_symbol (keyval)) {
String choice = keyval;
if (m_props.modeFullWidth () ||
- (modifiers & IBUS_SHIFT_MASK))
+ (modifiers & IBUS_SHIFT_MASK) ||
+ (keyval == IBUS_bracketleft ||
+ keyval == IBUS_bracketright ||
+ keyval == IBUS_apostrophe))
assert (convert_special_symbol (keyval, choice));
String lookup;