]> granicus.if.org Git - nethack/commitdiff
typos
authornhmall <mjnh@persona.ca>
Fri, 19 Jun 2015 21:27:57 +0000 (17:27 -0400)
committernhmall <mjnh@persona.ca>
Fri, 19 Jun 2015 21:27:57 +0000 (17:27 -0400)
src/sounds.c

index 72058cfae802d1e9e99029c8a2dfa2b5b3faaadc..afd7f6f00ea7c4ec7eb92d874dc534950f4cfd9a 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.6 sounds.c        $NHDT-Date: 1434749027 2015/06/19 21:23:47 $  $NHDT-Branch: master $:$NHDT-Revision: 1.66 $ */
+/* NetHack 3.6 sounds.c        $NHDT-Date: 1434749273 2015/06/19 21:27:53 $  $NHDT-Branch: master $:$NHDT-Revision: 1.67 $ */
 /*     Copyright (c) 1989 Janet Walz, Mike Threepoint */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -911,7 +911,6 @@ register struct monst *mtmp;
             !context.tribute.Deathnotice && u_have_novel()) {
             struct obj *book = u_have_novel();
             const char *tribtitle = (char *)0;
-            boolean features_Death = TRUE;
 
             if (book) {
                 int novelidx = book->novelidx;
@@ -919,9 +918,9 @@ register struct monst *mtmp;
             }
             if (tribtitle) {
                 Sprintf(verbuf, "Ah, so you have a copy of /%s/.", tribtitle);
-                /* no Death featured in these two, so exlude them */
-                if (!(strcmpi(tribtitle, "Snuff") == 0) ||                
-                     (strcmpi(tribtitle, "The Wee Free Men") == 0))
+                /* no Death featured in these two, so exclude them */
+                if (!(strcmpi(tribtitle, "Snuff") == 0 ||                
+                      strcmpi(tribtitle, "The Wee Free Men") == 0))
                     Strcat(verbuf, " I may have been misquoted there.");
                 verbl_msg = verbuf;
                 context.tribute.Deathnotice = 1;