Mercurial > pidgin
changeset 27460:8f2dfa6ef2f7
Of course, these should be >= and <=
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 10 Jul 2009 23:05:20 +0000 |
parents | 91fefa830798 |
children | 7e79102cda40 |
files | libpurple/protocols/jabber/jutil.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jutil.c Fri Jul 10 22:42:18 2009 +0000 +++ b/libpurple/protocols/jabber/jutil.c Fri Jul 10 23:05:20 2009 +0000 @@ -154,9 +154,9 @@ default: /* characters allowed everywhere */ - if ((*c > 'a' && *c < 'z') - || (*c > '0' && *c < '9') - || (*c > 'A' && *c < 'Z') + if ((*c >= 'a' && *c <= 'z') + || (*c >= '0' && *c <= '9') + || (*c >= 'A' && *c <= 'Z') || *c == '.' || *c == '-') /* We're good */ break;