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().
This commit is contained in:
PatR
2020-04-22 01:20:49 -07:00
parent 28fb6fc67b
commit 039d26a6e0

View 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 */
}
}