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

tim at ghostscript.com tim at ghostscript.com
Fri May 4 14:23:04 PDT 2007


Author: tim
Date: 2007-05-04 14:23:03 -0700 (Fri, 04 May 2007)
New Revision: 7899

Modified:
   trunk/gs/src/gdevp14.c
Log:
Minor change to make the source code more accurate.

DETAILS:

A parameter was being moved into the pdf buffer structure under a comment that
indicated the parameter wasn't being used. During my testing for bug #688543
I discovered the parameter was being used. Therefore I moved the line to be
above the comment to better reflect reality.

EXPECTED DIFFERENCES:

None:



Modified: trunk/gs/src/gdevp14.c
===================================================================
--- trunk/gs/src/gdevp14.c	2007-05-04 04:18:47 UTC (rev 7898)
+++ trunk/gs/src/gdevp14.c	2007-05-04 21:23:03 UTC (rev 7899)
@@ -894,10 +894,11 @@
     if (buf == NULL)
 	return_error(gs_error_VMerror);
 
+    buf->alpha = bg_alpha;
+
     /* fill in, but these values aren't really used */
     buf->isolated = true;
     buf->knockout = false;
-    buf->alpha = bg_alpha;
     buf->shape = 0xff;
     buf->blend_mode = BLEND_MODE_Normal;
     buf->transfer_fn = transfer_fn;



More information about the gs-cvs mailing list