diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-07-16 22:19:11 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-07-16 22:19:11 +0200 |
commit | 71b2608d4083475b8afabe1dc684563efe461140 (patch) | |
tree | 9812e629b517a4a8644ee8a12342974764d1b076 /colorize.c | |
parent | 48e16787d8aa263099b0f8d2d6faf4fe72a1c0d3 (diff) | |
download | colorize-71b2608d4083475b8afabe1dc684563efe461140.tar.gz colorize-71b2608d4083475b8afabe1dc684563efe461140.tar.bz2 |
Check for non-empty line
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |