diff options
Diffstat (limited to 'print/ghostscript8/files/patch-src:gdevcp50.c')
-rw-r--r-- | print/ghostscript8/files/patch-src:gdevcp50.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/print/ghostscript8/files/patch-src:gdevcp50.c b/print/ghostscript8/files/patch-src:gdevcp50.c deleted file mode 100644 index ffc8308ec35d..000000000000 --- a/print/ghostscript8/files/patch-src:gdevcp50.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/gdevcp50.c.orig Fri Feb 22 07:24:51 2002 -+++ src/gdevcp50.c Sun Nov 10 22:35:13 2002 -@@ -204,9 +204,12 @@ - - /* Map a r-g-b color to a color index. */ - private gx_color_index --cp50_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g, -- gx_color_value b) --{ return ((ulong)gx_color_value_to_byte(r) << 16)+ -+cp50_rgb_color(gx_device *dev, const gx_color_value cv[]) -+{ -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; -+ return ((ulong)gx_color_value_to_byte(r) << 16)+ - ((uint)gx_color_value_to_byte(g) << 8) + - gx_color_value_to_byte(b); - } |