]> granicus.if.org Git - nethack/commitdiff
pluralization special case tweak
authornhmall <nhmall@nethack.org>
Sat, 10 Mar 2018 16:28:01 +0000 (11:28 -0500)
committernhmall <nhmall@nethack.org>
Sat, 10 Mar 2018 16:28:01 +0000 (11:28 -0500)
mongoose -> mongooses, not mongeese

src/objnam.c

index 9b9b8fbbacf991782a59514c721f4c977b92c78b..90c96e156218ae32708a2c20e1ce48d43235cecb 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.6 objnam.c        $NHDT-Date: 1520696604 2018/03/10 15:43:24 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.187 $ */
+/* NetHack 3.6 objnam.c        $NHDT-Date: 1471112245 2016/08/13 18:17:25 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.178 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -2094,7 +2094,8 @@ const char *const *alt_as_is; /* another set like as_is[] */
        if more of these turn up, one_off[] entries will need to flagged
        as to which are whole words and which are matchable as suffices
        then matching in the loop below will end up becoming more complex */
-    if (!strcmpi(basestr, "slice")) {
+    if (!strcmpi(basestr, "slice")
+        || !strcmpi(basestr, "mongoose")) {
         if (to_plural)
             (void) strkitten(basestr, 's');
         return TRUE;