From 039d26a6e0b4890812ae081228d88733221b78ad Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 22 Apr 2020 01:20:49 -0700 Subject: [PATCH] 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(). --- src/drawing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ } }