summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-19 09:55:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-19 09:55:18 (GMT)
commit23abd217c7df90a80ee411cfe2090d75942cf750 (patch)
tree047c7883c2e3add51b74078a8e69f0012cc4645c /generic/tkConsole.c
parent6a2cb75b188aad9e6ecf9906ab5d1491647fbd09 (diff)
downloadtk-23abd217c7df90a80ee411cfe2090d75942cf750.zip
tk-23abd217c7df90a80ee411cfe2090d75942cf750.tar.gz
tk-23abd217c7df90a80ee411cfe2090d75942cf750.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.c4
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 */