summaryrefslogtreecommitdiffstats
path: root/library/bgerror.tcl
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-01-04 19:25:26 (GMT)
committerrjohnson <rjohnson>1999-01-04 19:25:26 (GMT)
commit5519b5f36b63e8e841ed3b31293e5eaaf42dfc47 (patch)
treea113e7d9fe0d06aa0ae8f754fb86e9febe917b98 /library/bgerror.tcl
parent3de56eab5049b3d3b1adb8802a3d9f11e9e1e148 (diff)
downloadtk-5519b5f36b63e8e841ed3b31293e5eaaf42dfc47.zip
tk-5519b5f36b63e8e841ed3b31293e5eaaf42dfc47.tar.gz
tk-5519b5f36b63e8e841ed3b31293e5eaaf42dfc47.tar.bz2
Updated the version to 8.0.5.
Diffstat (limited to 'library/bgerror.tcl')
-rw-r--r--library/bgerror.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/bgerror.tcl b/library/bgerror.tcl
index acba2a4..f809545 100644
--- a/library/bgerror.tcl
+++ b/library/bgerror.tcl
@@ -4,7 +4,7 @@
# posts a dialog box with the error message and gives the user a chance
# to see a more detailed stack trace.
#
-# RCS: @(#) $Id: bgerror.tcl,v 1.3 1998/09/14 18:23:22 stanton Exp $
+# RCS: @(#) $Id: bgerror.tcl,v 1.4 1999/01/04 19:25:27 rjohnson Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -35,7 +35,8 @@ proc bgerror err {
# code from the tkerror trial, other ret codes are passed back
# to our caller (tcl background error handler) so the called "tkerror"
# can still use return -code break, to skip remaining messages
- # in the error queue for instance) -- dl
+ # in the error queue for instance)
+
set ret [catch {tkerror $err} msg];
if {$ret != 1} {return -code $ret $msg}