diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-09-23 16:53:25 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-09-23 16:56:01 +0100 |
commit | bb4daf44c8e2f403f48ada061b70abfc8517c09e (patch) | |
tree | bdec1fe15d4dca0763b820c8f50cfef07c4836b9 | |
parent | e615e66044157a51f9786844500d2c33ef7f859d (diff) | |
download | mupdf-bb4daf44c8e2f403f48ada061b70abfc8517c09e.tar.xz |
GProof: Fix typos in gs invocation
-rw-r--r-- | source/gprf/gprf-doc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gprf/gprf-doc.c b/source/gprf/gprf-doc.c index 81d8b489..f74454e5 100644 --- a/source/gprf/gprf-doc.c +++ b/source/gprf/gprf-doc.c @@ -629,7 +629,7 @@ generate_page(fz_context *ctx, gprf_page *page) argv[argc++] = "-dUsePDFX3Profile"; else argv[argc++] = print_profile; - argv[argc++] = display_profile; + argv[argc++] = disp_profile; argv[argc++] = "-dFitPage"; argv[argc++] = "-o"; argv[argc++] = filename; @@ -666,7 +666,7 @@ generate_page(fz_context *ctx, gprf_page *page) char gs_command[1024]; /* Invoke gs to convert to a temp file. */ sprintf(gs_command, "gswin32c.exe -sDEVICE=gprf %s %s -dFitPage -o \"%s\" -dFirstPage=%d -dLastPage=%d -I%%rom%%Resource/Init/ -g%dx%d \"%s\"", - print_profile == NULL ? "-dUsePDFX3Profile" : print_profile, display_profile, + print_profile == NULL ? "-dUsePDFX3Profile" : print_profile, disp_profile, filename, page->number+1, page->number+1, page->width, page->height, doc->pdf_filename); fz_system(ctx, gs_command); #endif |