diff options
Diffstat (limited to 'devices/vector/gdevxps.c')
-rw-r--r-- | devices/vector/gdevxps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/vector/gdevxps.c b/devices/vector/gdevxps.c index 5d98c283..8eb26196 100644 --- a/devices/vector/gdevxps.c +++ b/devices/vector/gdevxps.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2019 Artifex Software, Inc. +/* Copyright (C) 2001-2020 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -1868,7 +1868,7 @@ xps_begin_image(gx_device *dev, const gs_gstate *pgs, rc_increment(pcs); code = dev_proc(dev, get_profile)(dev, &(dev_profile)); /* Just use the "default" profile for now */ - icc_profile = dev_profile->device_profile[0]; + icc_profile = dev_profile->device_profile[GS_DEFAULT_DEVICE_PROFILE]; force8bit = true; /* Output image is 8 bit regardless of source */ } else { /* An ICC, RGB, CMYK, Gray color space */ |