From 977a090166dda2bebde368bb72fb138117ad7be1 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 16 Dec 2008 22:03:25 +0000 Subject: Fix bug in 'trap' handlers (introduced by DKF's editing originally) --- library/init.tcl | 4 ++-- 1 file 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" { -- cgit v0.12