summaryrefslogtreecommitdiffstats
path: root/library/bgerror.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-03-11 22:50:51 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-03-11 22:50:51 (GMT)
commit92f42c4710b59e4b7d590bcac400948f88778128 (patch)
tree1d3e3017d538d233cabf410eb14d98dd295f6a7f /library/bgerror.tcl
parent294927570eac63240cd5e68d0f7b6d2daf611329 (diff)
downloadtk-92f42c4710b59e4b7d590bcac400948f88778128.zip
tk-92f42c4710b59e4b7d590bcac400948f88778128.tar.gz
tk-92f42c4710b59e4b7d590bcac400948f88778128.tar.bz2
Fix silly error that prevented truncated error traces from being presented to
the user, even when they should have been.
Diffstat (limited to 'library/bgerror.tcl')
-rw-r--r--library/bgerror.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/bgerror.tcl b/library/bgerror.tcl
index e3593fa..c154961 100644
--- a/library/bgerror.tcl
+++ b/library/bgerror.tcl
@@ -9,8 +9,8 @@
# Copyright (c) 1998-2000 by Ajuba Solutions.
# All rights reserved.
#
-# RCS: @(#) $Id: bgerror.tcl,v 1.23.2.4 2006/01/25 18:21:41 dgp Exp $
-# $Id: bgerror.tcl,v 1.23.2.4 2006/01/25 18:21:41 dgp Exp $
+# RCS: @(#) $Id: bgerror.tcl,v 1.23.2.5 2006/03/11 22:50:51 dkf Exp $
+# $Id: bgerror.tcl,v 1.23.2.5 2006/03/11 22:50:51 dkf Exp $
namespace eval ::tk::dialog::error {
namespace import -force ::tk::msgcat::*
@@ -125,7 +125,7 @@ proc ::tk::dialog::error::bgerror err {
set w .bgerrorDialog
set title [mc "Application Error"]
- set text [mc {Error: %1$s} $err]
+ set text [mc {Error: %1$s} $displayedErr]
set buttons [list ok $ok dismiss [mc "Skip Messages"] \
function [mc "Details >>"]]