From: Ari Johnson Date: Tue, 20 Feb 2007 20:00:30 +0000 (+0000) Subject: fix to English-style matching where numbers were treated like adjectives (3 was treat... X-Git-Tag: 0.73~175 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=6203a4f30759ece1367de8e0d130239e75733eb6;p=cobramush.git fix to English-style matching where numbers were treated like adjectives (3 was treated as 3rd) --- diff --git a/src/match.c b/src/match.c index 849a625..56c72b5 100644 --- a/src/match.c +++ b/src/match.c @@ -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