diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-03 19:37:31 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-03 19:37:31 +0000 |
commit | 22ce79a5ec50177752f5d80bfa7f24bad1c31960 (patch) | |
tree | f090134a7b14398b671320983acffcd554e94f3f /print/ghostscript-gpl/files/patch-src:gdevccr.c | |
parent | upgrade to 1.0.1 (diff) |
upgrade to 8.00
PR: 46435
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=72450
Diffstat (limited to 'print/ghostscript-gpl/files/patch-src:gdevccr.c')
-rw-r--r-- | print/ghostscript-gpl/files/patch-src:gdevccr.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:gdevccr.c b/print/ghostscript-gpl/files/patch-src:gdevccr.c new file mode 100644 index 000000000000..56bb760b8ac8 --- /dev/null +++ b/print/ghostscript-gpl/files/patch-src:gdevccr.c @@ -0,0 +1,15 @@ +--- src/gdevccr.c.orig Fri Feb 22 07:24:51 2002 ++++ src/gdevccr.c Sun Nov 10 22:38:51 2002 +@@ -112,8 +112,11 @@ + /* ------ Color mapping routines ------ */ + /* map an rgb color to a ccr cmy bitmap */ + private gx_color_index +-ccr_map_rgb_color(gx_device *pdev, ushort r, ushort g, ushort b) ++ccr_map_rgb_color(gx_device *pdev, const ushort cv[]) + { ++ ushort r = cv[0]; ++ ushort g = cv[1]; ++ ushort b = cv[2]; + register int shift = gx_color_value_bits - 1; + r>>=shift; + g>>=shift; |