diff options
author | TingPing <TingPing@users.noreply.github.com> | 2013-09-24 17:03:19 -0400 |
---|---|---|
committer | TingPing <TingPing@users.noreply.github.com> | 2013-09-24 17:03:19 -0400 |
commit | 4c9b193b45a78d0e15de5273143f559a74f6be06 (patch) | |
tree | 6f0a3ea37935b0d79da16f35b83536c16552cdff /src/fe-gtk | |
parent | 130be78dbb3721a48fcd0530437818f1a0eef802 (diff) |
Fix tab completion with utf8 completion char
Closes #738
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/fkeys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c index 146804d0..beacd532 100644 --- a/src/fe-gtk/fkeys.c +++ b/src/fe-gtk/fkeys.c @@ -1499,7 +1499,7 @@ key_action_tab_comp (GtkWidget *t, GdkEventKey *entry, char *d1, char *d2, cursor_pos = g_utf8_pointer_to_offset(text, ch); if (cursor_pos && (g_utf8_get_char_validated(ch, -1) == ':' || g_utf8_get_char_validated(ch, -1) == ',' || - g_utf8_get_char_validated(ch, -1) == prefs.hex_completion_suffix[0])) + g_utf8_get_char_validated (ch, -1) == g_utf8_get_char_validated (prefs.hex_completion_suffix, -1))) { skip_len++; } |