summaryrefslogtreecommitdiffstats
path: root/win/tkWinInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-03 15:18:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-03 15:18:04 (GMT)
commitac4e07fa62e67af835459bbbc8bc4931317e696d (patch)
treee8e77e0e1e1b00f7f64f77409981101d6ed3b5c5 /win/tkWinInit.c
parentb9766110493b9502d12897391dab11d20acb4ad7 (diff)
downloadtk-ac4e07fa62e67af835459bbbc8bc4931317e696d.zip
tk-ac4e07fa62e67af835459bbbc8bc4931317e696d.tar.gz
tk-ac4e07fa62e67af835459bbbc8bc4931317e696d.tar.bz2
-1 -> TCL_INDEX_NONE
Diffstat (limited to 'win/tkWinInit.c')
-rw-r--r--win/tkWinInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinInit.c b/win/tkWinInit.c
index 5e72480..cd35089 100644
--- a/win/tkWinInit.c
+++ b/win/tkWinInit.c
@@ -130,9 +130,9 @@ TkpDisplayWarning(
if (tclStubsPtr->tcl_CreateFileHandler) {
Tcl_Channel errChannel = Tcl_GetStdChannel(TCL_STDERR);
if (errChannel) {
- Tcl_WriteChars(errChannel, title, -1);
+ Tcl_WriteChars(errChannel, title, TCL_INDEX_NONE);
Tcl_WriteChars(errChannel, ": ", 2);
- Tcl_WriteChars(errChannel, msg, -1);
+ Tcl_WriteChars(errChannel, msg, TCL_INDEX_NONE);
Tcl_WriteChars(errChannel, "\n", 1);
return;
}