[gs-cvs] rev 8205 - trunk/gs/contrib
alexcher at ghostscript.com
alexcher at ghostscript.com
Sun Aug 26 16:24:58 PDT 2007
Author: alexcher
Date: 2007-08-26 16:24:57 -0700 (Sun, 26 Aug 2007)
New Revision: 8205
Modified:
trunk/gs/contrib/gdevcd8.c
Log:
Fix a typo in a contributed driver for HP color printers detected by aC++
compiler. Assuming that pointers compare as unsigned values, the fix doesn't
have any run-time effects.
DIFFERENCES:
None, regression testing doesn't test this driver.
Modified: trunk/gs/contrib/gdevcd8.c
===================================================================
--- trunk/gs/contrib/gdevcd8.c 2007-08-24 16:49:35 UTC (rev 8204)
+++ trunk/gs/contrib/gdevcd8.c 2007-08-26 23:24:57 UTC (rev 8205)
@@ -2263,7 +2263,7 @@
magenta = inbyte++;
yellow = inbyte++;
- if (black > 0)
+ if (*black > 0)
NOBLACK(cyan, magenta, yellow, black);
if (*magenta + *yellow + *cyan > 0) { /* if any color at all */
More information about the gs-cvs
mailing list