From e3c3d0b385565d3d71fee5c7d0d0b4fd69c7a149 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Jun 1996 04:22:28 +0000 Subject: [PATCH] (parse_ls_color): Use STREQ here instead of strcmp(...) == 0. --- src/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ls.c b/src/ls.c index d9ac4120ff..f97fddd8a2 100644 --- a/src/ls.c +++ b/src/ls.c @@ -1376,7 +1376,7 @@ parse_ls_color (void) { for (ind_no = 0; indicator_name[ind_no] != NULL; ++ind_no) { - if (strcmp (label, indicator_name[ind_no]) == 0) + if (STREQ (label, indicator_name[ind_no])) { color_indicator[ind_no].string = buf; state = ((color_indicator[ind_no].len = -- 2.47.2