diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
| commit | 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch) | |
| tree | 22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /print/ghostscript8/files/patch-src:gdevmgr.c | |
| parent | a33896596d7008d70bca9b6ce72347e2d7b6fd9a (diff) | |
Diffstat (limited to 'print/ghostscript8/files/patch-src:gdevmgr.c')
| -rw-r--r-- | print/ghostscript8/files/patch-src:gdevmgr.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/print/ghostscript8/files/patch-src:gdevmgr.c b/print/ghostscript8/files/patch-src:gdevmgr.c deleted file mode 100644 index 8f2dc4028c34..000000000000 --- a/print/ghostscript8/files/patch-src:gdevmgr.c +++ /dev/null @@ -1,17 +0,0 @@ ---- src/gdevmgr.c.orig Sun Jun 16 14:48:55 2002 -+++ src/gdevmgr.c Sun Nov 10 22:52:19 2002 -@@ -364,9 +364,11 @@ - /* (1/6, 1/2, and 5/6), instead of the obvious 8x8x4. */ - - gx_color_index --mgr_8bit_map_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g, -- gx_color_value b) --{ uint rv = r / (gx_max_color_value / 7 + 1); -+mgr_8bit_map_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]; -+ uint rv = r / (gx_max_color_value / 7 + 1); - uint gv = g / (gx_max_color_value / 7 + 1); - uint bv = b / (gx_max_color_value / 7 + 1); - return (gx_color_index) |
