diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-08-18 19:10:50 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-08-18 19:10:50 +0200 |
commit | d15d767e78401203e962d8fff77921409625db9a (patch) | |
tree | efa42256657140278bcc737d895c12c10fa72d59 /colorize.c | |
parent | c4009516f582e1a595e57d07b062b9339a3f215c (diff) | |
download | colorize-d15d767e78401203e962d8fff77921409625db9a.tar.gz colorize-d15d767e78401203e962d8fff77921409625db9a.tar.bz2 |
Properly indent pair of braces
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -748,10 +748,11 @@ read_print_stream (bool bold, const struct color **colors, const char *file, FIL print_line (bold, colors, line, flags); line = p; } - if (feof (stream)) { - if (*line != '\0') - print_line (bold, colors, line, 0); - } + if (feof (stream)) + { + if (*line != '\0') + print_line (bold, colors, line, 0); + } else if (*line != '\0') { char *p; |