summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index 8fad88a..339d61e 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -216,9 +216,8 @@ Tcl_AppInit(
*/
(void)Tcl_EvalEx(interp,
- "set tcl_rcFileName [file tildeexpand ~/tclshrc.tcl]",
- -1,
- TCL_EVAL_GLOBAL);
+ "set tcl_rcFileName [file tildeexpand ~/tclshrc.tcl]",
+ TCL_AUTO_LENGTH, TCL_EVAL_GLOBAL);
return TCL_OK;
}