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

leonardo at ghostscript.com leonardo at ghostscript.com
Sun Apr 22 13:25:22 PDT 2007


Author: leonardo
Date: 2007-04-22 13:25:22 -0700 (Sun, 22 Apr 2007)
New Revision: 7870

Modified:
   trunk/gs/src/gxpcmap.c
Log:
Implementing high level patterns, step 10.

DETAILS : 

gx_pattern_tile_is_clist crashed with empty tile.
Debugged with CET 09-34.PS .

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/src/gxpcmap.c
===================================================================
--- trunk/gs/src/gxpcmap.c	2007-04-22 20:19:02 UTC (rev 7869)
+++ trunk/gs/src/gxpcmap.c	2007-04-22 20:25:22 UTC (rev 7870)
@@ -742,7 +742,7 @@
 bool 
 gx_pattern_tile_is_clist(gx_color_tile *ptile)
 {
-    return ptile->cdev != NULL;
+    return ptile != NULL && ptile->cdev != NULL;
 }
 
 /* Add a dummy Pattern cache entry.  Stubs a pattern tile for interpreter when



More information about the gs-cvs mailing list