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

alexcher at ghostscript.com alexcher at ghostscript.com
Wed Nov 8 04:55:36 PST 2006


Author: alexcher
Date: 2006-11-08 04:55:36 -0800 (Wed, 08 Nov 2006)
New Revision: 7176

Modified:
   trunk/gs/src/zshade.c
Log:
Set errorinfo for Background key in shading dictionary. Clear some
issurs detected by CET 09-47G.PS and 09-47H.PS.


Modified: trunk/gs/src/zshade.c
===================================================================
--- trunk/gs/src/zshade.c	2006-11-08 12:30:45 UTC (rev 7175)
+++ trunk/gs/src/zshade.c	2006-11-08 12:55:36 UTC (rev 7176)
@@ -189,8 +189,10 @@
 	    code = dict_floats_param(imemory, op, "Background",
 				     gs_color_space_num_components(pcs),
 				     pcc->paint.values, NULL);
-	    if (code < 0)
+	    if (code < 0) {
+                gs_errorinfo_put_pair_from_dict(i_ctx_p, op, "Background");
 		goto fail;
+            }
 	}
     }
     if (dict_find_string(op, "BBox", &pvalue) <= 0)



More information about the gs-cvs mailing list