From: nion Date: Sun, 17 Apr 2005 09:41:17 +0000 (+0000) Subject: Nico Golde: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=2f928128cac1c0bc2ce2465671e5abe2a9671d28 Nico Golde: - fixed spelling mistake - added 9 as a digit (Thanks to Tobias Klauser) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@267 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 84bc377..ae77632 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -112,10 +112,10 @@ static gpgme_key_t signature_key = NULL; * General helper functions. */ -/* return true when S pints to a didgit or letter. */ +/* return true when S points to a didgit or letter. */ static int digit_or_letter (const unsigned char *s) { - return ((*s >= '0' && *s < '9') + return ((*s >= '0' && *s <= '9') || (*s >= 'A' && *s <= 'Z') || (*s >= 'a' && *s <= 'z')); }