diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-19 09:55:18 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-19 09:55:18 (GMT) |
commit | 54873af19f269ce0bf55cb91d31e0ff4aa43eb29 (patch) | |
tree | 047c7883c2e3add51b74078a8e69f0012cc4645c /generic/tkConsole.c | |
parent | 67fbe2530b1f554399831b61f7d03ab1ef722ef7 (diff) | |
download | tk-54873af19f269ce0bf55cb91d31e0ff4aa43eb29.zip tk-54873af19f269ce0bf55cb91d31e0ff4aa43eb29.tar.gz tk-54873af19f269ce0bf55cb91d31e0ff4aa43eb29.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 */ |