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

giles at ghostscript.com giles at ghostscript.com
Wed Nov 21 16:54:04 PST 2007


Author: giles
Date: 2007-11-21 16:54:03 -0800 (Wed, 21 Nov 2007)
New Revision: 8403

Modified:
   trunk/gs/src/gdevp14.c
Log:
Correct a format string error in the PDF 1.4 spot color name generation.


Modified: trunk/gs/src/gdevp14.c
===================================================================
--- trunk/gs/src/gdevp14.c	2007-11-22 00:54:01 UTC (rev 8402)
+++ trunk/gs/src/gdevp14.c	2007-11-22 00:54:03 UTC (rev 8403)
@@ -3681,7 +3681,7 @@
 	pkeyname_list_elem->next = *pkeyname_list;
 	pkeyname_list_elem->key_name = keyname_buf;
 	*pkeyname_list = pkeyname_list_elem;
-	sprintf(keyname_buf, "%PDF14SpotName_%d", i);
+	sprintf(keyname_buf, "PDF14SpotName_%d", i);
 	str.size = separations->names[i].size;
 	str.data = separations->names[i].data;
 	str.persistent = false;



More information about the gs-cvs mailing list