[gs-commits] rev 11581 - trunk/gs/base

chrisl at ghostscript.com chrisl at ghostscript.com
Sat Jul 31 15:45:39 UTC 2010


Author: chrisl
Date: 2010-07-31 15:45:39 +0000 (Sat, 31 Jul 2010)
New Revision: 11581

Modified:
   trunk/gs/base/gdevdbit.c
Log:
Reapply r11570

Copying converted samples to the output raster used the byte
length of the input raster, rather than the byte length of 
the converted data. Change to use the correct length.

Bug 691494 - credit to SaGS for the patch.



Modified: trunk/gs/base/gdevdbit.c
===================================================================
--- trunk/gs/base/gdevdbit.c	2010-07-31 15:04:24 UTC (rev 11580)
+++ trunk/gs/base/gdevdbit.c	2010-07-31 15:45:39 UTC (rev 11581)
@@ -289,7 +289,7 @@
 		}
 		LINE_ACCUM(composite, bpp);
 	    }
-	    LINE_ACCUM_COPY(dev, lout, bpp, x, rx, raster, ry);
+	    LINE_ACCUM_COPY(dev, lout, bpp, x, rx, out_size, ry);
 	}
       out:gs_free_object(mem, lout, "copy_alpha(lout)");
 	gs_free_object(mem, lin, "copy_alpha(lin)");



More information about the gs-commits mailing list