summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvPoly.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-02-01 11:41:09 (GMT)
committerhobbs <hobbs>2000-02-01 11:41:09 (GMT)
commit72b28710ff138c84a191a1e44c2207ba58522870 (patch)
tree462f9d19d2583612b9c3969de777574a4889f209 /generic/tkCanvPoly.c
parenta7ac3c95aefe0dcd187bf66e8d86ee148193f397 (diff)
downloadtk-72b28710ff138c84a191a1e44c2207ba58522870.zip
tk-72b28710ff138c84a191a1e44c2207ba58522870.tar.gz
tk-72b28710ff138c84a191a1e44c2207ba58522870.tar.bz2
* generic/tkRectOval.c (ConfigureRectOval):
* generic/tkCanvLine.c (ConfigureLine): * generic/tkCanvPoly.c (ConfigurePoly): * generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for negative dash values [Bug: 4104] * generic/tkScale.c (TkRoundToResolution): fixed incorrect assumption that (N+1)*delta = N*delta + delta with floating point math [Bug: 3689, 4099] (DestroyScale) Fixed check for cancelling TkpDisplayScale (was REDRAW_ALL, is now REDRAW_PENDING)
Diffstat (limited to 'generic/tkCanvPoly.c')
-rw-r--r--generic/tkCanvPoly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvPoly.c b/generic/tkCanvPoly.c
index f64ccd6..79ba527 100644
--- a/generic/tkCanvPoly.c
+++ b/generic/tkCanvPoly.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvPoly.c,v 1.4 1999/12/14 06:52:26 hobbs Exp $
+ * RCS: @(#) $Id: tkCanvPoly.c,v 1.5 2000/02/01 11:41:09 hobbs Exp $
*/
#include <stdio.h>
@@ -464,7 +464,7 @@ ConfigurePolygon(interp, canvas, itemPtr, argc, argv, flags)
state = itemPtr->state;
if (polyPtr->outline.activeWidth > polyPtr->outline.width ||
- polyPtr->outline.activeDash.number > 0 ||
+ polyPtr->outline.activeDash.number != 0 ||
polyPtr->outline.activeColor != NULL ||
polyPtr->outline.activeStipple != None ||
polyPtr->activeFillColor != NULL ||