summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/gxacpath.c')
-rw-r--r--base/gxacpath.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/base/gxacpath.c b/base/gxacpath.c
index 8c3bf349..23c70a0d 100644
--- a/base/gxacpath.c
+++ b/base/gxacpath.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2021 Artifex Software, Inc.
+/* Copyright (C) 2001-2022 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -256,10 +256,10 @@ accum_open_device(register gx_device * dev)
gx_device_cpath_accum * const adev = (gx_device_cpath_accum *)dev;
gx_clip_list_init(&adev->list);
- adev->bbox.p.x = adev->bbox.p.y = max_int;
- adev->bbox.q.x = adev->bbox.q.y = min_int;
- adev->clip_box.p.x = adev->clip_box.p.y = min_int;
- adev->clip_box.q.x = adev->clip_box.q.y = max_int;
+ adev->bbox.p.x = adev->bbox.p.y = fixed2int(max_fixed);
+ adev->bbox.q.x = adev->bbox.q.y = fixed2int(min_fixed);
+ adev->clip_box.p.x = adev->clip_box.p.y = fixed2int(min_fixed);
+ adev->clip_box.q.x = adev->clip_box.q.y = fixed2int(max_fixed);
return 0;
}