summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-21 05:46:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-21 05:46:53 (GMT)
commit57b1224d0740ffbd5208457481ca421450bd6748 (patch)
tree85b9484032316df136c49a4163e05ff42fc0e331 /generic/tkConsole.c
parent41cc9023c9d8ba470b41666d54cfe4db9bbb5020 (diff)
parent1884b124718fae2f0fc70fc56a3645d9c918cbb4 (diff)
downloadtk-57b1224d0740ffbd5208457481ca421450bd6748.zip
tk-57b1224d0740ffbd5208457481ca421450bd6748.tar.gz
tk-57b1224d0740ffbd5208457481ca421450bd6748.tar.bz2
_Xconst -> const
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r--generic/tkConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index a59092e..53f49c1 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -512,7 +512,7 @@ ConsoleOutput(
* Assumption is utf-8 Tcl_Encoding is reliably present.
*/
- CONST char *bytes
+ const char *bytes
= Tcl_ExternalToUtfDString(utf8, buf, toWrite, &ds);
int numBytes = Tcl_DStringLength(&ds);
Tcl_Obj *cmd = Tcl_NewStringObj("tk::ConsoleOutput", -1);