diff options
author | das <das> | 2001-11-23 02:04:08 (GMT) |
---|---|---|
committer | das <das> | 2001-11-23 02:04:08 (GMT) |
commit | aa409cc42da819e8ab1d081e7a1f175b33c1c2cf (patch) | |
tree | 0d0864ac4fc0b0ff178f5869f1600d2c584109c8 /library/console.tcl | |
parent | 5efa25f6e1ad2a687cac8c1caab6d8c10f978269 (diff) | |
download | tk-aa409cc42da819e8ab1d081e7a1f175b33c1c2cf.zip tk-aa409cc42da819e8ab1d081e7a1f175b33c1c2cf.tar.gz tk-aa409cc42da819e8ab1d081e7a1f175b33c1c2cf.tar.bz2 |
** upport to 8.4 of mac code changes for 8.3.3 & various new
** changes for 8.4, some already backported to 8.3.4 (patch #435660)
see ChangeLog for details
Diffstat (limited to 'library/console.tcl')
-rw-r--r-- | library/console.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/console.tcl b/library/console.tcl index 5f4d661..776e7b4 100644 --- a/library/console.tcl +++ b/library/console.tcl @@ -4,7 +4,7 @@ # can be used by non-unix systems that do not have built-in support # for shells. # -# RCS: @(#) $Id: console.tcl,v 1.15 2001/10/19 17:43:52 hobbs Exp $ +# RCS: @(#) $Id: console.tcl,v 1.16 2001/11/23 02:04:17 das Exp $ # # Copyright (c) 1995-1997 Sun Microsystems, Inc. # Copyright (c) 1998-2000 Ajuba Solutions. @@ -446,7 +446,7 @@ proc ::tk::ConsoleBind {w} { bind Console <F9> { eval destroy [winfo child .] if {[string equal $tcl_platform(platform) "macintosh"]} { - source -rsrc Console + if {[catch {source $tk_library:console.tcl}]} {source -rsrc console} } else { source [file join $tk_library console.tcl] } |