Mercurial > pidgin
changeset 16045:1d1f8edc5f5f
merge of '8cbda621265a421cdd48fa7a90bb171ea98d3444'
and 'be6a420ff7a4679cc705c9323316d517bcdb23a8'
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Tue, 10 Apr 2007 12:09:43 +0000 |
parents | e764691a671e (current diff) ca463cecd432 (diff) |
children | 42c6d1d81bec |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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++;