From: Steven Schubiger Date: Tue, 18 Aug 2015 17:10:50 +0000 (+0200) Subject: Properly indent pair of braces X-Git-Tag: v0.57~4^2~4 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=d15d767e78401203e962d8fff77921409625db9a Properly indent pair of braces --- diff --git a/colorize.c b/colorize.c index c54cec7..d73e5f6 100644 --- a/colorize.c +++ b/colorize.c @@ -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;