]> granicus.if.org Git - nethack/commitdiff
fix pull request #496 - ^X feedback typo
authorPatR <rankin@nethack.org>
Wed, 28 Apr 2021 20:08:39 +0000 (13:08 -0700)
committerPatR <rankin@nethack.org>
Wed, 28 Apr 2021 20:08:39 +0000 (13:08 -0700)
Issue #495 and pull request #496 are both about a typo in recently
modified ^X feedback displayed when held by a monster:  "createure"
should be "creature".

Closes #496
Closes #495

doc/fixes37.0
src/insight.c

index 7434b8931b5ab9c178cad2bc9ef93a30b080fa28..2fa7ad50d9f9124f59b6fd5818fd9ca7aff7df69 100644 (file)
@@ -1,4 +1,4 @@
-NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.503 $ $NHDT-Date: 1618175625 2021/04/11 21:13:45 $
+NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.518 $ $NHDT-Date: 1619640466 2021/04/28 20:07:46 $
 
 General Fixes and Modified Features
 -----------------------------------
@@ -636,6 +636,7 @@ give genetic engineers teleport capability (as they had in slash'em); 'port
 if an invisible hero managed to convert an unaligned altar to an aligned one
        with color enabled, altar wasn't immediately redrawn with new color
 repair some regressions to (a)pply introduced by "getobj refactor" patch
+fix ^X feedback when held typo: "unseen createure" -> "unseen creature"
 
 curses: 'msg_window' option wasn't functional for curses unless the binary
        also included tty support
index cbc332911c5295900ef32d8c42f6a26f4284e16f..e185b7f98285fa0e549fe239fc2d0d6eee1de456 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.7 insight.c       $NHDT-Date: 1614076940 2021/02/23 10:42:20 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.33 $ */
+/* NetHack 3.7 insight.c       $NHDT-Date: 1619640466 2021/04/28 20:07:46 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.35 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -912,7 +912,7 @@ status_enlightenment(int mode, int final)
         if (!strcmp(heldmon, "it")
             && (!has_mgivenname(u.ustuck)
                 || strcmp(MGIVENNAME(u.ustuck), "it") != 0))
-            Strcpy(heldmon, "an unseen createure");
+            Strcpy(heldmon, "an unseen creature");
     }
     if (u.uswallow) { /* implies u.ustuck is non-Null */
         Sprintf(buf, "%s by %s",