[gs-cvs] rev 7888 - trunk/gs/src

ray at ghostscript.com ray at ghostscript.com
Mon Apr 30 12:08:16 PDT 2007


Author: ray
Date: 2007-04-30 12:08:16 -0700 (Mon, 30 Apr 2007)
New Revision: 7888

Modified:
   trunk/gs/src/gxiscale.c
Log:
Fix typo in 7887. Local regression testing missed this -- was seen in 
nightly run. This was part of the "optimization" in the 4 component
source color case.


Modified: trunk/gs/src/gxiscale.c
===================================================================
--- trunk/gs/src/gxiscale.c	2007-04-29 00:34:16 UTC (rev 7887)
+++ trunk/gs/src/gxiscale.c	2007-04-30 19:08:16 UTC (rev 7888)
@@ -337,7 +337,7 @@
 			    case 4:
 				do {
 				    LINE_ACCUM(color, bpp);
-				    x++, psrc += 3;
+				    x++, psrc += 4;
 				} while (x < xe && psrc[-3] == psrc[0] &&
 				     psrc[-2] == psrc[1] &&
 				     psrc[-1] == psrc[2]);



More information about the gs-cvs mailing list