From: PatR Date: Wed, 22 Apr 2020 08:20:49 +0000 (-0700) Subject: crystal ball followup X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=039d26a6e0b4890812ae081228d88733221b78ad;p=nethack crystal ball followup tile2x11 didn't like the change to drawing.c. Case-insensitive string comparison wasn't strictly needed so switch to regular strcmp(). --- diff --git a/src/drawing.c b/src/drawing.c index ec3555cc9..424cfbbb3 100644 --- a/src/drawing.c +++ b/src/drawing.c @@ -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 */ } }