diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-25 14:32:24 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 15:52:52 +0100 |
commit | 9492fec254b440d707a120d0fc9b606d38f1acfd (patch) | |
tree | 0bdb911b56bda5f04730e1c74450bf9032ccdbd8 /source/tools/pdfshow.c | |
parent | d8b1db49ee72718a3a61d9ac1bb04886ecac2341 (diff) | |
download | mupdf-9492fec254b440d707a120d0fc9b606d38f1acfd.tar.xz |
Print newlines before 'endobj' in mutool show.
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r-- | source/tools/pdfshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c index 1a3d1fb7..ba560fc8 100644 --- a/source/tools/pdfshow.c +++ b/source/tools/pdfshow.c @@ -139,7 +139,7 @@ static void showobject(int num, int gen) { fz_printf(ctx, out, "%d %d obj\n", num, gen); pdf_print_obj(ctx, out, obj, 0); - fz_printf(ctx, out, "stream\n"); + fz_printf(ctx, out, "\nstream\n"); showstream(num, gen); fz_printf(ctx, out, "endstream\n"); fz_printf(ctx, out, "endobj\n\n"); @@ -149,7 +149,7 @@ static void showobject(int num, int gen) { fz_printf(ctx, out, "%d %d obj\n", num, gen); pdf_print_obj(ctx, out, obj, 0); - fz_printf(ctx, out, "endobj\n\n"); + fz_printf(ctx, out, "\nendobj\n\n"); } pdf_drop_obj(ctx, obj); |