diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-19 09:55:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-19 09:55:18 (GMT) |
commit | e8469505b13e2af380977e581f42402073a2136f (patch) | |
tree | 047c7883c2e3add51b74078a8e69f0012cc4645c /generic/tkConsole.c | |
parent | c8f0062c64f9fc019a92e9bbc8918aa3e4ba1571 (diff) | |
download | tk-e8469505b13e2af380977e581f42402073a2136f.zip tk-e8469505b13e2af380977e581f42402073a2136f.tar.gz tk-e8469505b13e2af380977e581f42402073a2136f.tar.bz2 |
SetOptions.3: minor doc fix
make various other tables CONST
(All backported from Tk 8.6)
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r-- | generic/tkConsole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c index 307b9b5..af6e76a 100644 --- a/generic/tkConsole.c +++ b/generic/tkConsole.c @@ -351,9 +351,9 @@ Tk_CreateConsoleWindow(interp) int haveConsoleChannel = 1; #ifdef MAC_TCL - static const char *initCmd = "if {[catch {source $tk_library:console.tcl}]} {source -rsrc console}"; + static CONST char *initCmd = "if {[catch {source $tk_library:console.tcl}]} {source -rsrc console}"; #else - static const char *initCmd = "source $tk_library/console.tcl"; + static CONST char *initCmd = "source $tk_library/console.tcl"; #endif /* Init an interp with Tcl and Tk */ |