aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2015-08-18 19:10:50 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2015-08-18 19:10:50 +0200
commitd15d767e78401203e962d8fff77921409625db9a (patch)
treeefa42256657140278bcc737d895c12c10fa72d59
parentc4009516f582e1a595e57d07b062b9339a3f215c (diff)
downloadcolorize-d15d767e78401203e962d8fff77921409625db9a.tar.gz
colorize-d15d767e78401203e962d8fff77921409625db9a.tar.bz2
Properly indent pair of braces
-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;