]> granicus.if.org Git - nethack/commitdiff
crystal ball followup
authorPatR <rankin@nethack.org>
Wed, 22 Apr 2020 08:20:49 +0000 (01:20 -0700)
committerPatR <rankin@nethack.org>
Wed, 22 Apr 2020 08:20:49 +0000 (01:20 -0700)
tile2x11 didn't like the change to drawing.c.  Case-insensitive
string comparison wasn't strictly needed so switch to regular
strcmp().

src/drawing.c

index ec3555cc922e37e7efd8650c0efd0f450d33c676..424cfbbb36959c586c6240f0e5d4089d73de235a 100644 (file)
@@ -307,13 +307,13 @@ char ch;
 
     for (i = 0; i < SIZE(defsyms); ++i) {
         if (!furniture) {
-            if (!strncmpi(defsyms[i].explanation, first_furniture, 5))
+            if (!strncmp(defsyms[i].explanation, first_furniture, 5))
                 furniture = TRUE;
         }
         if (furniture) {
             if (defsyms[i].sym == (uchar) ch)
                 return i;
-            if (!strcmpi(defsyms[i].explanation, last_furniture))
+            if (!strcmp(defsyms[i].explanation, last_furniture))
                 break; /* reached last furniture */
         }
     }