summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authordas <das>2002-05-20 10:21:20 (GMT)
committerdas <das>2002-05-20 10:21:20 (GMT)
commit03abed61db8e3c28c3ddf6dfa6e45b6a16bade15 (patch)
tree0d35ec4a5ca8dba679583aae69e68439beca6f7a /library/console.tcl
parent50a4cfe36baf76470123c8c9d24aee73d4e50fc4 (diff)
downloadtk-03abed61db8e3c28c3ddf6dfa6e45b6a16bade15.zip
tk-03abed61db8e3c28c3ddf6dfa6e45b6a16bade15.tar.gz
tk-03abed61db8e3c28c3ddf6dfa6e45b6a16bade15.tar.bz2
* mac/tkMacInit.c:
* library/console.tcl: * library/tk.tcl: fix tk.tcl not sourcing library files that define bindings at startup on mac. (independent of tk library files being in resources or on auto_path)
Diffstat (limited to 'library/console.tcl')
-rw-r--r--library/console.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/console.tcl b/library/console.tcl
index 74ad76c..ee5fbf8 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.18 2002/04/29 13:17:44 bagnonm Exp $
+# RCS: @(#) $Id: console.tcl,v 1.19 2002/05/20 10:21:23 das Exp $
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
@@ -447,7 +447,7 @@ proc ::tk::ConsoleBind {w} {
bind Console <F9> {
eval destroy [winfo child .]
if {[string equal $tcl_platform(platform) "macintosh"]} {
- if {[catch {source $tk_library:console.tcl}]} {source -rsrc console}
+ if {[catch {source [file join $tk_library console.tcl]}]} {source -rsrc console}
} else {
source [file join $tk_library console.tcl]
}