diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-06-30 14:26:29 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-07-01 00:27:57 +0100 |
commit | 6f683c37cfbd872980c4ba03f2eb8776642166e7 (patch) | |
tree | 27d62f37498f3a200b3b4a2919e53705e4dcb52c /devices/gdevpcx.c | |
parent | 8e1859c5fa8ff7af476e8317f8efc3f762c935cc (diff) | |
download | ghostpdl-6f683c37cfbd872980c4ba03f2eb8776642166e7.tar.gz |
Fix decode_color for gdev_prn_initialize_device_procs_cmyk1.
Also, remove lots of unnecessary setting of encode/decode to the
values that they have already been set to.
Diffstat (limited to 'devices/gdevpcx.c')
-rw-r--r-- | devices/gdevpcx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/devices/gdevpcx.c b/devices/gdevpcx.c index caef9703f..696b2d257 100644 --- a/devices/gdevpcx.c +++ b/devices/gdevpcx.c @@ -170,12 +170,6 @@ static void pcxcmyk_initialize_device_procs(gx_device *dev) { gdev_prn_initialize_device_procs_cmyk1_bg(dev); - - /* The prn macros used in previous versions of the code leave - * encode_color and decode_color set to NULL (which are then rewritten - * by the system to the default. For compatibility we do the same. */ - set_dev_proc(dev, encode_color, NULL); - set_dev_proc(dev, decode_color, NULL); } const gx_device_printer gs_pcxcmyk_device = |