diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2017-03-25 17:39:45 -0400 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2017-03-27 10:50:17 -0400 |
commit | 66f878d1d7c580f9010e9f362399606989671a45 (patch) | |
tree | b00058d13efff94b659230e05f3df485f2c42287 /source/tools/muconvert.c | |
parent | d3087bb261de53557572a49458a2ae88a2d38453 (diff) | |
download | mupdf-66f878d1d7c580f9010e9f362399606989671a45.tar.xz |
Tweak document_writer - don't pass dev back in.
It seems odd for a document writer to pass a device pointer
out, and then require it to be passed back in.
Hide that in the public API.
Diffstat (limited to 'source/tools/muconvert.c')
-rw-r--r-- | source/tools/muconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/muconvert.c b/source/tools/muconvert.c index 8d4f4dd6..054f8b25 100644 --- a/source/tools/muconvert.c +++ b/source/tools/muconvert.c @@ -66,7 +66,7 @@ static void runpage(int number) fz_bound_page(ctx, page, &mediabox); dev = fz_begin_page(ctx, out, &mediabox); fz_run_page(ctx, page, dev, &fz_identity, NULL); - fz_end_page(ctx, out, dev); + fz_end_page(ctx, out); fz_drop_page(ctx, page); } |