diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-21 05:46:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-21 05:46:53 (GMT) |
commit | 57b1224d0740ffbd5208457481ca421450bd6748 (patch) | |
tree | 85b9484032316df136c49a4163e05ff42fc0e331 /generic/tkConsole.c | |
parent | 41cc9023c9d8ba470b41666d54cfe4db9bbb5020 (diff) | |
parent | 1884b124718fae2f0fc70fc56a3645d9c918cbb4 (diff) | |
download | tk-57b1224d0740ffbd5208457481ca421450bd6748.zip tk-57b1224d0740ffbd5208457481ca421450bd6748.tar.gz tk-57b1224d0740ffbd5208457481ca421450bd6748.tar.bz2 |
_Xconst -> const
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r-- | generic/tkConsole.c | 2 |
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); |