diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-29 04:53:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-29 04:53:53 +0000 |
commit | 07e148c8e712d0ede4b18aab3b8452d441824189 (patch) | |
tree | b2245e072a936f0e46a10ce4f32ad57033d4203c /src/ls.c | |
parent | 8455ea2e13567a9bdb8222c252cefe3774faa005 (diff) | |
download | coreutils-07e148c8e712d0ede4b18aab3b8452d441824189.tar.xz |
(print_name_with_quoting): Add braces around inner if-else stmt.
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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. |