summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-05-26 23:07:52 +0100
committerAndy Williams <andy@andywilliams.me>2017-05-26 23:07:52 +0100
commit57a0343775f41e256d8b8d7e0e2faeec19851b09 (patch)
treec053f032ddcb0bd788ee0a09c816727afda77d63
parent6e1a52fc7ddd8005e2ac31d2c0749f006ac401e3 (diff)
elm_code: Allow multibyte characters to be entered
@fix T5496
-rw-r--r--src/lib/elementary/elm_code_widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index b59070acb2..f572ef3b32 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -1649,10 +1649,10 @@ _elm_code_widget_key_down_cb(void *data, Evas *evas EINA_UNUSED,
1649 else if (!strcmp(ev->key, "Escape")) 1649 else if (!strcmp(ev->key, "Escape"))
1650 elm_code_widget_selection_clear(widget); 1650 elm_code_widget_selection_clear(widget);
1651 1651
1652 else if (ev->string && strlen(ev->string) == 1) 1652 else if (ev->string)
1653 elm_code_widget_text_at_cursor_insert(widget, ev->string); 1653 elm_code_widget_text_at_cursor_insert(widget, ev->string);
1654 else 1654 else
1655 INF("Unhandled key %s (%s) (%s)", ev->key, ev->keyname, ev->string); 1655 INF("Unhandled key %s (%s)", ev->key, ev->keyname);
1656} 1656}
1657 1657
1658static void 1658static void