summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-04-17 01:39:05 (GMT)
committerrjohnson <rjohnson>1999-04-17 01:39:05 (GMT)
commitf918ed3b3397df68218337d79016a5851ea4be69 (patch)
tree1bbce058d812aaf5e90fce2ce2a4cb7b54a608f4 /generic/tkScale.c
parentf32c746a2ae0694c9f8e7e3090f9325a04d252e6 (diff)
downloadtk-f918ed3b3397df68218337d79016a5851ea4be69.zip
tk-f918ed3b3397df68218337d79016a5851ea4be69.tar.gz
tk-f918ed3b3397df68218337d79016a5851ea4be69.tar.bz2
Fixed bug 1840
Diffstat (limited to 'generic/tkScale.c')
-rw-r--r--generic/tkScale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c
index 74efdd8..6d23cf3 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkScale.c,v 1.3 1999/04/16 01:51:21 stanton Exp $
+ * RCS: @(#) $Id: tkScale.c,v 1.4 1999/04/17 01:39:06 rjohnson Exp $
*/
#include "tkPort.h"
@@ -272,7 +272,7 @@ Tk_ScaleObjCmd(clientData, interp, objc, objv)
scalePtr->fromValue = 0.0;
scalePtr->toValue = 0.0;
scalePtr->tickInterval = 0.0;
- scalePtr->resolution = 1;
+ scalePtr->resolution = 1.0;
scalePtr->digits = 0;
scalePtr->bigIncrement = 0.0;
scalePtr->commandPtr = NULL;