summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-05-20 17:23:12 +0100
committerRobin Watts <robin.watts@artifex.com>2013-05-21 14:20:47 +0100
commitd021304f9ff6f74bcc53bf7f42a504bd1b033266 (patch)
tree91a45a7de144ab94a7d4edb2f2cc8cc67f205c3b /apps
parenta3d00b2c51c1df23258f774f58268be794384c27 (diff)
downloadmupdf-d021304f9ff6f74bcc53bf7f42a504bd1b033266.tar.xz
Add PWG options structure for writing PWGs.
This should (pretty much) give us enough to write a mupdftoraster equivalent of gstoraster.
Diffstat (limited to 'apps')
-rw-r--r--apps/mudraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c
index 7efb9aae..3194e7cb 100644
--- a/apps/mudraw.c
+++ b/apps/mudraw.c
@@ -583,7 +583,7 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum)
{
if (strstr(output, "%d") != NULL)
append = 0;
- fz_write_pwg(ctx, pix, buf, append);
+ fz_write_pwg(ctx, pix, buf, append, NULL);
append = 1;
}
else if (output_format == OUT_PBM) {