From 07e148c8e712d0ede4b18aab3b8452d441824189 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 29 Apr 1996 04:53:53 +0000 Subject: [PATCH] (print_name_with_quoting): Add braces around inner if-else stmt. --- src/ls.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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. -- 2.47.2