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

mvrhel at ghostscript.com mvrhel at ghostscript.com
Mon Jul 28 15:23:04 PDT 2008


Author: mvrhel
Date: 2008-07-28 15:23:04 -0700 (Mon, 28 Jul 2008)
New Revision: 8895

Modified:
   trunk/gs/src/gxiscale.c
Log:
Fix for Bug 689983.  This was introduced with the source space interpolation code.  Fixes indexing direction in source data when we have indexed data, interpolation and a negative xx value in the geometric transformation.

EXPECTED DIFFERENCES:

148-11.ps

Modified: trunk/gs/src/gxiscale.c
===================================================================
--- trunk/gs/src/gxiscale.c	2008-07-28 20:48:07 UTC (rev 8894)
+++ trunk/gs/src/gxiscale.c	2008-07-28 22:23:04 UTC (rev 8895)
@@ -378,7 +378,8 @@
                   }
 
                   gs_cspace_indexed_lookup_bytes(pcs, decode_value,psrc);	
-	          pdata ++;  
+	          pdata += dpd;    /* Can't have just ++ 
+                                   since we could be going backwards */
 
                  }
 



More information about the gs-cvs mailing list