From 5649aebdefdb0d4628413c72cc8f48fbc52bcd1a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 23 Nov 2002 16:43:49 +0000 Subject: (decode_switches): Use case-sensitive matching to decode the QUOTING_STYLE environment variable. This is more consistent with the documentation, and with --quoting-style. --- src/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ls.c b/src/ls.c index 246e7f07e..56206389a 100644 --- a/src/ls.c +++ b/src/ls.c @@ -1303,7 +1303,7 @@ decode_switches (int argc, char **argv) char const *q_style = getenv ("QUOTING_STYLE"); if (q_style) { - int i = ARGCASEMATCH (q_style, quoting_style_args, quoting_style_vals); + int i = ARGMATCH (q_style, quoting_style_args, quoting_style_vals); if (0 <= i) set_quoting_style (NULL, quoting_style_vals[i]); else -- cgit v1.2.3-70-g09d2