Skip to content

Commit

Permalink
makeplural/makesingular vtense fix (trunk only)
Browse files Browse the repository at this point in the history
     "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.
  • Loading branch information
nethack.rankin committed May 28, 2007
1 parent f8fcaf8 commit 695fc96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/objnam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 695fc96

Please sign in to comment.