projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e0fd7
)
fix to English-style matching where numbers were treated like adjectives (3 was treat...
author
Ari Johnson
<ari@cobramush.org>
Tue, 20 Feb 2007 20:00:30 +0000
(20:00 +0000)
committer
Ari Johnson
<ari@cobramush.org>
Tue, 20 Feb 2007 20:00:30 +0000
(20:00 +0000)
src/match.c
patch
|
blob
|
history
diff --git
a/src/match.c
b/src/match.c
index 849a625f0aece49c4e4459c5e5fbc4e799f712ac..56c72b502b87d4584abc503b0b226ca40ff74a54 100644
(file)
--- 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