Nico Golde:
authornion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sun, 17 Apr 2005 09:41:17 +0000 (09:41 +0000)
committernion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sun, 17 Apr 2005 09:41:17 +0000 (09:41 +0000)
- 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

crypt-gpgme.c

index 84bc377..ae77632 100644 (file)
@@ -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'));
 }