Revision be6a420ff7a4679cc705c9323316d517bcdb23a8
wabz at pidgin.im
wabz at pidgin.im
Tue Apr 10 08:28:26 EDT 2007
o -----------------------------------------------------------------
| Revision: be6a420ff7a4679cc705c9323316d517bcdb23a8
| Ancestor: a513ac5bfd698b44a66b39c0ca32b0e8e244ef5b
| Author: wabz at pidgin.im
| Date: 2007-04-10T09:32:52
| Branch: im.pidgin.pidgin
|
| Modified files:
| finch/libgnt/gntkeys.c
|
| ChangeLog:
|
| Only ascii keys can be bound, fixes a crash when inputting non-ascii chars
|
| ============================================================
| --- finch/libgnt/gntkeys.c cb4762e33238786fd1b27d13b39abf9ebf1ea56f
| +++ finch/libgnt/gntkeys.c 97e62aa0e18556ee4738559ac0dd64fa657ecab9
| @@ -230,7 +230,9 @@ int gnt_keys_find_combination(const char
|
| 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++;
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from be6a420ff7a4679cc705c9323316d517bcdb23a8
More information about the Commits
mailing list