summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-07-24 01:40:25 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-08-02 02:20:45 +0800
commitbaafc0a167221f60c584923b6dc294801c959f45 (patch)
treefad2eb2e91decea8659835cff7446ec44a58ee35 /source/tools
parentb136e23b7e58025e7769dd21629ffda958b922df (diff)
downloadmupdf-baafc0a167221f60c584923b6dc294801c959f45.tar.xz
Re-add line endings for mutool show grep.
Commit c22e6a6dc2bf6acbac955bd5fbdd896329dfd725 accidentally removed the line endings for: mutool show file.pdf grep
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/pdfshow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c
index 3ff479a5..bf83608b 100644
--- a/source/tools/pdfshow.c
+++ b/source/tools/pdfshow.c
@@ -180,6 +180,7 @@ static void showgrep(char *filename)
fz_printf(ctx, out, "%s:%d: ", filename, i);
pdf_print_obj(ctx, out, obj, 1);
+ fz_printf(ctx, out, "\n");
pdf_drop_obj(ctx, obj);
}
@@ -187,6 +188,7 @@ static void showgrep(char *filename)
fz_printf(ctx, out, "%s:trailer: ", filename);
pdf_print_obj(ctx, out, pdf_trailer(ctx, doc), 1);
+ fz_printf(ctx, out, "\n");
}
static void showoutline(void)