curses perm_invent comment

Stripping article ("a ", "an ", "the ") off inventory items to
squeeze a little more info into truncated persistent inventory
was initially case insensitve.  That was removed because it isn't
needed but the comment still reflected it.
This commit is contained in:
PatR
2021-03-15 01:05:19 -07:00
parent 73efacb2bc
commit f008319c5d

View File

@@ -255,11 +255,11 @@ pi_article_skip(const char *str)
unsigned skip = 0; /* number of chars to skip when displaying str */
/*
* if (!strncmpi(str, "a ", 2))
* if (!strncmp(str, "a ", 2))
* skip = 2;
* else if (!strncmpi(str, "an ", 3))
* else if (!strncmp(str, "an ", 3))
* skip = 3;
* else if (!strncmpi(str, "the ", 4))
* else if (!strncmp(str, "the ", 4))
* skip = 4;
*/
if (str[0] == 'a') {