# HG changeset patch # User Richard Nelson # Date 1176206983 0 # Node ID 1d1f8edc5f5fac8206a390f7e77b9fc821e3ec93 # Parent e764691a671e331fe3eab7f64682e632c99ed4e6# Parent ca463cecd432eec2708bd77001bc699c83c5d900 merge of '8cbda621265a421cdd48fa7a90bb171ea98d3444' and 'be6a420ff7a4679cc705c9323316d517bcdb23a8' diff -r e764691a671e -r 1d1f8edc5f5f finch/libgnt/gntkeys.c --- a/finch/libgnt/gntkeys.c Tue Apr 10 11:44:45 2007 +0000 +++ b/finch/libgnt/gntkeys.c Tue Apr 10 12:09:43 2007 +0000 @@ -230,7 +230,9 @@ root.flags &= ~IS_END; while (*path && n->next[*path] && !(n->flags & IS_END)) { - if (g_utf8_find_next_char(path, NULL) - path > 1) + if (!g_ascii_isspace(*path) && + !g_ascii_iscntrl(*path) && + !g_ascii_isgraph(*path)) return 0; n = n->next[*path++]; depth++;