summaryrefslogtreecommitdiffstats
path: root/library/scale.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-06 02:22:24 (GMT)
committerhobbs <hobbs>2000-01-06 02:22:24 (GMT)
commitf56e033eeeeef36def67329d2f3d67f1ef06483b (patch)
treef460bc9e6b6a8136f9c788b897f75dbcfcceca71 /library/scale.tcl
parent0bcb96bc6cddb09417aaa0ca4ad48469d0194255 (diff)
downloadtk-f56e033eeeeef36def67329d2f3d67f1ef06483b.zip
tk-f56e033eeeeef36def67329d2f3d67f1ef06483b.tar.gz
tk-f56e033eeeeef36def67329d2f3d67f1ef06483b.tar.bz2
* library/entry.tcl:
* library/focus.tcl: * library/listbox.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed unprotected arg parsing through eval/after [Bug: 3943]
Diffstat (limited to 'library/scale.tcl')
-rw-r--r--library/scale.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/scale.tcl b/library/scale.tcl
index d1a7f07..4e71ac8 100644
--- a/library/scale.tcl
+++ b/library/scale.tcl
@@ -3,7 +3,7 @@
# This file defines the default bindings for Tk scale widgets and provides
# procedures that help in implementing the bindings.
#
-# RCS: @(#) $Id: scale.tcl,v 1.5 1999/09/02 17:02:53 hobbs Exp $
+# RCS: @(#) $Id: scale.tcl,v 1.6 2000/01/06 02:22:24 hobbs Exp $
#
# Copyright (c) 1994 The Regents of the University of California.
# Copyright (c) 1994-1995 Sun Microsystems, Inc.
@@ -211,12 +211,12 @@ proc tkScaleIncrement {w dir big repeat} {
if {[string equal $repeat "again"]} {
set tkPriv(afterId) [after [$w cget -repeatinterval] \
- tkScaleIncrement $w $dir $big again]
+ [list tkScaleIncrement $w $dir $big again]]
} elseif {[string equal $repeat "initial"]} {
set delay [$w cget -repeatdelay]
if {$delay > 0} {
set tkPriv(afterId) [after $delay \
- tkScaleIncrement $w $dir $big again]
+ [list tkScaleIncrement $w $dir $big again]]
}
}
}