diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-06-20 13:03:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-20 13:03:26 -0700 |
commit | 3f39bf376985a9e87d7c28a986e17dff4727e74c (patch) | |
tree | 022830e1b2afc9596c6453c8d090198f86850653 /line-log.c | |
parent | ef74594e42e57308ef67b4bef03e42c137e7ad4b (diff) | |
download | git-js/log-diff-to-non-stdout.tar.gz |
SQUASH???js/log-diff-to-non-stdout
Diffstat (limited to 'line-log.c')
-rw-r--r-- | line-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/line-log.c b/line-log.c index c3b8563190..e62a7f4ac4 100644 --- a/line-log.c +++ b/line-log.c @@ -854,10 +854,10 @@ static void print_line(const char *prefix, char first, fputs(prefix, file); fputs(color, file); - fputc(first, file); + putc(first, file); fwrite(begin, 1, end-begin, file); fputs(reset, file); - fputc('\n', file); + putc('\n', file); if (!had_nl) fputs("\\ No newline at end of file\n", file); } |