aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 542e400..da444e4 100644
--- a/colorize.c
+++ b/colorize.c
@@ -644,7 +644,7 @@ read_print_stream (bool bold, const struct color **colors, const char *file, FIL
if (feof (stream)) {
MERGE_PRINT_LINE (part_line, line, 0, true);
}
- else
+ else if (*line != '\0')
{
if (!clean && !clean_all) /* efficiency */
print_line (colors, bold, line, 0);