summaryrefslogtreecommitdiff
path: root/devices/gdevpcx.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-06-30 14:26:29 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-07-01 00:27:57 +0100
commit6f683c37cfbd872980c4ba03f2eb8776642166e7 (patch)
tree27d62f37498f3a200b3b4a2919e53705e4dcb52c /devices/gdevpcx.c
parent8e1859c5fa8ff7af476e8317f8efc3f762c935cc (diff)
downloadghostpdl-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.c6
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 =