diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-17 22:38:35 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-18 15:32:14 +0100 |
commit | 80949d3d6b6320f5643a450c382f19370922e78f (patch) | |
tree | 7e3a6612d9c2985c3c3c493182d4171d017b4456 /source/tools/mudraw.c | |
parent | 02d5b2280db2846e4a683944819eb395ab15b8ce (diff) | |
download | mupdf-80949d3d6b6320f5643a450c382f19370922e78f.tar.xz |
Remove fz_save_document and use pdf_save_document directly instead.
In preparation of adding pdf_write_document that writes a document
to a fz_output stream.
Diffstat (limited to 'source/tools/mudraw.c')
-rw-r--r-- | source/tools/mudraw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index b1ccc38b..47aab044 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c @@ -1130,9 +1130,7 @@ int mudraw_main(int argc, char **argv) if (pdfout) { - fz_save_options opts = { 0 }; - - pdf_save_document(ctx, pdfout, output, &opts); + pdf_save_document(ctx, pdfout, output, NULL); pdf_close_document(ctx, pdfout); } |