[gs-cvs] rev 7196 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Mon Nov 13 08:38:14 PST 2006
Author: leonardo
Date: 2006-11-13 08:38:14 -0800 (Mon, 13 Nov 2006)
New Revision: 7196
Modified:
trunk/gs/src/gxshade6.c
Log:
Fix (shadings) : Remove colors from C stack, part 9.
DETAILS :
Removing unuseful comments.
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/src/gxshade6.c
===================================================================
--- trunk/gs/src/gxshade6.c 2006-11-13 16:32:10 UTC (rev 7195)
+++ trunk/gs/src/gxshade6.c 2006-11-13 16:38:14 UTC (rev 7196)
@@ -1101,7 +1101,7 @@
return 1; /* Disable this check. */
else {
const gs_direct_color_space *cs =
- (const gs_direct_color_space *)pfs->direct_space; /* break 'const'. */
+ (const gs_direct_color_space *)pfs->direct_space;
int code;
float smoothness = max(pfs->smoothness, 1.0 / min_linear_grades);
/* Restrict the smoothness with 1/min_linear_grades, because cs_is_linear
@@ -1656,7 +1656,7 @@
return 2;
if (!wedge) {
const gs_direct_color_space *cs =
- (const gs_direct_color_space *)pfs->direct_space; /* break 'const'. */
+ (const gs_direct_color_space *)pfs->direct_space;
float smoothness = max(pfs->smoothness, 1.0 / min_linear_grades);
/* Restrict the smoothness with 1/min_linear_grades, because cs_is_linear
can't provide a better precision due to the color
More information about the gs-cvs
mailing list