[gs-cvs] rev 8063 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Mon Jun 18 22:51:02 PDT 2007
Author: leonardo
Date: 2007-06-18 22:51:01 -0700 (Mon, 18 Jun 2007)
New Revision: 8063
Modified:
trunk/gs/src/gxfill.c
Log:
Fix (The filling algorithm) : Improving a condition for visual trace.
DETAILS :
This change affects the debug painting only.
The old code wrongly accounts the case when fill adjustment is set to -1, which means "none".
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/src/gxfill.c
===================================================================
--- trunk/gs/src/gxfill.c 2007-06-19 05:45:58 UTC (rev 8062)
+++ trunk/gs/src/gxfill.c 2007-06-19 05:51:01 UTC (rev 8063)
@@ -651,7 +651,7 @@
vd_save;
if (vd_allowed('F') || vd_allowed('f')) {
if (!vd_enabled) {
- vd_get_dc( (params->adjust.x | params->adjust.y) ? 'F' : 'f');
+ vd_get_dc( (params->adjust.x > 0 || params->adjust.y > 0) ? 'F' : 'f');
got_dc = vd_enabled;
}
if (vd_enabled) {
More information about the gs-cvs
mailing list