From 695fc96e99dc65f91a5cabad3044460bf17f1205 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Mon, 28 May 2007 03:30:26 +0000 Subject: [PATCH] makeplural/makesingular vtense fix (trunk only) "The death ray hit it." Changes to vtense() during the makeplural makesingular overhaul four weeks ago contained a typo, or rather a set of matching thinkos. --- src/objnam.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/objnam.c b/src/objnam.c index 531250f9b..27b853c95 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -1578,10 +1578,10 @@ register const char *verb; */ if ((lowc(*spot) == 's' && spot != subj && !index("us", lowc(*(spot-1)))) || - BSTRNCMPI(subj, spot-3, "eeth", 4) || - BSTRNCMPI(subj, spot-3, "feet", 4) || - BSTRNCMPI(subj, spot-1, "ia", 2) || - BSTRNCMPI(subj, spot-1, "ae", 2)) { + !BSTRNCMPI(subj, spot-3, "eeth", 4) || + !BSTRNCMPI(subj, spot-3, "feet", 4) || + !BSTRNCMPI(subj, spot-1, "ia", 2) || + !BSTRNCMPI(subj, spot-1, "ae", 2)) { /* check for special cases to avoid false matches */ len = (int)(spot - subj) + 1; for (spec = special_subjs; *spec; spec++) {