diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-04 13:06:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-04 13:06:32 (GMT) |
commit | 96ba124114a77f7be6cfb173ee9084c01f789512 (patch) | |
tree | bc97fbb72c240fbdb1326228f8a17e5ab98682e3 /generic/tclCmdMZ.c | |
parent | de370ec86362c9ec5f013683c78a0faa1e51ed75 (diff) | |
download | tcl-96ba124114a77f7be6cfb173ee9084c01f789512.zip tcl-96ba124114a77f7be6cfb173ee9084c01f789512.tar.gz tcl-96ba124114a77f7be6cfb173ee9084c01f789512.tar.bz2 |
Backout [0a9ae478ac], as requested
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index 2c0c27b..41782b0 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -988,7 +988,7 @@ TclNRSourceObjCmd( int objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument objects. */ { - const char *encoding = NULL; + const char *encodingName = NULL; Tcl_Obj *fileName; if (objc != 2 && objc !=4) { @@ -1008,10 +1008,10 @@ TclNRSourceObjCmd( "option", TCL_EXACT, &index)) { return TCL_ERROR; } - encoding = TclGetString(objv[2]); + encodingName = TclGetString(objv[2]); } - return TclNREvalFile(interp, fileName, encoding); + return TclNREvalFile(interp, fileName, encodingName); } /* |