Author: leonardo
Date: 2008-03-13 00:18:46 -0700 (Thu, 13 Mar 2008)
New Revision: 8598

Modified:
   trunk/gs/src/gsptype1.c
Log:
Fix (graphics) : A bug in the pattern color serialization.

DETAILS :

Patch from Alex mentioned in the bug 689731 and unrelated to that bug.

EXPECTED DIFFERENCES :

None.      


Modified: trunk/gs/src/gsptype1.c
===================================================================
--- trunk/gs/src/gsptype1.c	2008-03-12 22:32:03 UTC (rev 8597)
+++ trunk/gs/src/gsptype1.c	2008-03-13 07:18:46 UTC (rev 8598)
@@ -1032,7 +1032,7 @@
     if (pdevc->ccolor_valid) {
 	psdc->colors.pattern.id = pdevc->ccolor.pattern->pattern_id;
 	psdc->colors.pattern.phase = pdevc->phase;
-    } {
+    } else {
 	/* The client color has been changed to a non-pattern color,
 	   but device color has not been created yet. 
 	 */

_______________________________________________
gs-cvs mailing list
gs-cvs@ghostscript.com
http://www.ghostscript.com/mailman/listinfo/gs-cvs
