summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-12-16 22:03:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-12-16 22:03:25 (GMT)
commit977a090166dda2bebde368bb72fb138117ad7be1 (patch)
tree0874452c988f22d4e07fc40f1ad9344b7c1930f8 /library/init.tcl
parentc60b536070b85c710718c88d757ab0a70ab52e15 (diff)
downloadtcl-977a090166dda2bebde368bb72fb138117ad7be1.zip
tcl-977a090166dda2bebde368bb72fb138117ad7be1.tar.gz
tcl-977a090166dda2bebde368bb72fb138117ad7be1.tar.bz2
Fix bug in 'trap' handlers (introduced by DKF's editing originally)
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl
index dfb1777..71635fb 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -3,7 +3,7 @@
# Default system startup file for Tcl-based applications. Defines
# "unknown" procedure and auto-load facilities.
#
-# RCS: @(#) $Id: init.tcl,v 1.116 2008/12/16 16:36:08 dkf Exp $
+# RCS: @(#) $Id: init.tcl,v 1.117 2008/12/16 22:03:25 dkf Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -179,7 +179,7 @@ namespace eval ::tcl::control {
must be a list"
}
lappend handlers [lrange $args $i $i] 1 \
- {*}[lrange $args $i+1 $i+2]
+ {*}[lrange $args $i $i+2]
incr i 3
}
"finally" {