summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
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 35f677a5d..bd662bbc2 100644
--- a/xps/xpstop.c
+++ b/xps/xpstop.c
@@ -581,6 +581,7 @@ xps_install_halftone(xps_context_t *ctx, gx_device *pdevice)
if (gx_device_must_halftone(pdevice))
{
+ memset(&ht.rc, 0x00, sizeof(ht.rc));
ht.type = ht_type_threshold;
ht.objtype = HT_OBJTYPE_DEFAULT;
ht.params.threshold.width = width;