aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c9
1 files changed, 5 insertions, 4 deletions
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;