diff --git a/src/objnam.c b/src/objnam.c index 36d964b5c..84f8e634b 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)objnam.c 3.4 2003/05/09 */ +/* SCCS Id: @(#)objnam.c 3.4 2003/12/04 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1149,7 +1149,7 @@ register const char *verb; /* also check for to catch things like "the invisible erinys" */ if (len > ltmp && *(spot - ltmp) == ' ' && - strncmpi(*spec, spot - ltmp + 1, ltmp)) goto sing; + !strncmpi(*spec, spot - ltmp + 1, ltmp)) goto sing; } return strcpy(buf, verb);