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, 3 insertions, 2 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc
index bf337f7..5c95a22 100644
--- a/src/ZYZPhoneticEditor.cc
+++ b/src/ZYZPhoneticEditor.cc
@@ -948,8 +948,9 @@ PhoneticEditor::insertSymbol (guint keyval)
if (is_full_width_symbol (keyval)) {
if (is_special_symbol (keyval)) {
- String choice;
- assert (convert_special_symbol (keyval, choice));
+ String choice = keyval;
+ if (m_props.modeFullWidth ())
+ assert (convert_special_symbol (keyval, choice));
String lookup;
int ch = find_lookup_key (choice);