From 160687dbf18e9fe84ad453e33284eca7b906fffb Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 18 Jun 2021 18:16:10 +0100 Subject: Move pXm devices to use encode/decode_color. This seems to fix pbmraw, pamcmyk32 and pnmcmyk. --- base/gdevdrop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/gdevdrop.c') 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) + -- cgit v1.2.1