From 6203a4f30759ece1367de8e0d130239e75733eb6 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 20 Feb 2007 20:00:30 +0000 Subject: [PATCH] fix to English-style matching where numbers were treated like adjectives (3 was treated as 3rd) --- src/match.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2