fix to English-style matching where numbers were treated like adjectives (3 was treat...
authorAri Johnson <ari@cobramush.org>
Tue, 20 Feb 2007 20:00:30 +0000 (20:00 +0000)
committerAri Johnson <ari@cobramush.org>
Tue, 20 Feb 2007 20:00:30 +0000 (20:00 +0000)
src/match.c

index 849a625f0aece49c4e4459c5e5fbc4e799f712ac..56c72b502b87d4584abc503b0b226ca40ff74a54 100644 (file)
@@ -448,7 +448,8 @@ parse_english(const char **name, long *flags)
     } else if (strcasecmp(e, "th")) {
       count = -1;
     }
-  }
+  } else
+    count = -1;
   *mname = ' ';
   if (count < 0) {
     /* An error (like '0th' or '12nd') - this wasn't really a count