From baafc0a167221f60c584923b6dc294801c959f45 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 24 Jul 2016 01:40:25 +0800 Subject: Re-add line endings for mutool show grep. Commit c22e6a6dc2bf6acbac955bd5fbdd896329dfd725 accidentally removed the line endings for: mutool show file.pdf grep --- source/tools/pdfshow.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/tools') 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) -- cgit v1.2.3