From: Jim Meyering Date: Mon, 29 Apr 1996 04:53:53 +0000 (+0000) Subject: (print_name_with_quoting): Add braces around inner if-else stmt. X-Git-Tag: TEXTUTILS-1_14d~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e148c8e712d0ede4b18aab3b8452d441824189;p=thirdparty%2Fcoreutils.git (print_name_with_quoting): Add braces around inner if-else stmt. --- diff --git a/src/ls.c b/src/ls.c index feac19851a..f1be7112ec 100644 --- a/src/ls.c +++ b/src/ls.c @@ -2268,14 +2268,16 @@ print_name_with_quoting (register char *p, unsigned int mode, int linkok) free (quoted); if (print_with_color) - if (color_indicator[C_END].string != NULL) - put_indicator (&color_indicator[C_END]); - else - { - put_indicator (&color_indicator[C_LEFT]); - put_indicator (&color_indicator[C_NORM]); - put_indicator (&color_indicator[C_RIGHT]); - } + { + if (color_indicator[C_END].string != NULL) + put_indicator (&color_indicator[C_END]); + else + { + put_indicator (&color_indicator[C_LEFT]); + put_indicator (&color_indicator[C_NORM]); + put_indicator (&color_indicator[C_RIGHT]); + } + } } /* Print the file name of `f' with appropriate quoting.