summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2020-09-23 17:12:54 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2020-09-23 17:12:54 -0700
commitd178fa10548d101a248e3ec3fc6ddcf5bf044692 (patch)
tree15466c2d445c16e87d2e0f5aa1c366f0fac99372 /xps
parentb53045b45866fe5b41e9ca6b4fe8318f14178d3d (diff)
downloadghostpdl-d178fa10548d101a248e3ec3fc6ddcf5bf044692.tar.gz
XPS Interp: Fix missing initialization in XPS page reversal
Diffstat (limited to 'xps')
-rw-r--r--xps/xpstop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xps/xpstop.c b/xps/xpstop.c
index 424ca12fb..5c0c335d1 100644
--- a/xps/xpstop.c
+++ b/xps/xpstop.c
@@ -257,6 +257,7 @@ xps_impl_init_job(pl_interp_implementation_t *impl,
return gs_rethrow(gs_error_VMerror, "out of memory: page_list");
}
disable_page_handler = true;
+ ctx->page_range->reverse = false;
}
else if ((pdevice->FirstPage > 0 || pdevice->LastPage > 0) &&
pdevice->PageHandlerPushed)