summaryrefslogtreecommitdiff
path: root/base/gdevdrop.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-06-18 18:16:10 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-06-21 20:10:53 +0100
commit160687dbf18e9fe84ad453e33284eca7b906fffb (patch)
tree47b12b90d69af5f4bde8cba76ceef21e5805a316 /base/gdevdrop.c
parent3406eb17fb001f76eeca6c08dce72f25175f10fe (diff)
downloadghostpdl-160687dbf18e9fe84ad453e33284eca7b906fffb.tar.gz
Move pXm devices to use encode/decode_color.
This seems to fix pbmraw, pamcmyk32 and pnmcmyk.
Diffstat (limited to 'base/gdevdrop.c')
-rw-r--r--base/gdevdrop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gdevdrop.c b/base/gdevdrop.c
index b2c1234f8..bf9ab5b44 100644
--- a/base/gdevdrop.c
+++ b/base/gdevdrop.c
@@ -241,7 +241,7 @@ unpack_colors_to_standard(gx_device * dev, gx_color_index real_colors[2],
gx_color_value rgb[3];
gx_color_index pixel;
- (*dev_proc(dev, map_color_rgb)) (dev, colors[i], rgb);
+ (*dev_proc(dev, decode_color)) (dev, colors[i], rgb);
pixel = gx_color_value_to_byte(rgb[0]);
if (depth > 8) {
pixel = (pixel << 16) +