summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvLine.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/tkCanvLine.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/tkCanvLine.c')
-rw-r--r--generic/tkCanvLine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvLine.c b/generic/tkCanvLine.c
index 59c936e..7fbd51e 100644
--- a/generic/tkCanvLine.c
+++ b/generic/tkCanvLine.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvLine.c,v 1.6 2000/01/21 03:54:41 hobbs Exp $
+ * RCS: @(#) $Id: tkCanvLine.c,v 1.7 2000/02/01 11:41:09 hobbs Exp $
*/
#include <stdio.h>
@@ -514,7 +514,7 @@ ConfigureLine(interp, canvas, itemPtr, argc, argv, flags)
}
if (linePtr->outline.activeWidth > linePtr->outline.width ||
- linePtr->outline.activeDash.number > 0 ||
+ linePtr->outline.activeDash.number != 0 ||
linePtr->outline.activeColor != NULL ||
linePtr->outline.activeStipple != None) {
itemPtr->redraw_flags |= TK_ITEM_STATE_DEPENDANT;