From f008319c5d30ce802cb1ac88c9ae09e75b79783c Mon Sep 17 00:00:00 2001 From: PatR Date: Mon, 15 Mar 2021 01:05:19 -0700 Subject: [PATCH] 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. --- win/curses/cursinvt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win/curses/cursinvt.c b/win/curses/cursinvt.c index bee379394..b6d08b43f 100644 --- a/win/curses/cursinvt.c +++ b/win/curses/cursinvt.c @@ -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') { -- 2.50.1