summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-02-07 11:22:08 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-02-07 11:22:08 (GMT)
commit694ae1913191cf93072702e7612b88544f7bea54 (patch)
tree96c84db59b0dc82cab9b01553ba95f63b345440e /generic/tclCmdAH.c
parent100d8ce724b2ed4d9f15a045bc2e48119b53465f (diff)
downloadtcl-694ae1913191cf93072702e7612b88544f7bea54.zip
tcl-694ae1913191cf93072702e7612b88544f7bea54.tar.gz
tcl-694ae1913191cf93072702e7612b88544f7bea54.tar.bz2
Fix call to EncodingConvertParseOption for decoding
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index 9165fda..02a3a46 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -688,7 +688,7 @@ EncodingConvertfromObjCmd(
Tcl_Obj *failVarObj;
if (EncodingConvertParseOptions(
- interp, objc, objv, 1, &encoding, &data, &flags, &failVarObj)
+ interp, objc, objv, 0, &encoding, &data, &flags, &failVarObj)
!= TCL_OK) {
return TCL_ERROR;
}