summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <TingPing@users.noreply.github.com>2013-09-24 17:03:19 -0400
committerTingPing <TingPing@users.noreply.github.com>2013-09-24 17:03:19 -0400
commit4c9b193b45a78d0e15de5273143f559a74f6be06 (patch)
tree6f0a3ea37935b0d79da16f35b83536c16552cdff /src
parent130be78dbb3721a48fcd0530437818f1a0eef802 (diff)
Fix tab completion with utf8 completion char
Closes #738
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/fkeys.c2
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++;
 		}