summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c
index 6795203..764501b 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -105,7 +105,7 @@ Tcl_RegisterConfig(
*/
if (venc == NULL) {
- venc = Tcl_GetEncoding("iso8859-1", valEncoding);;
+ venc = Tcl_GetEncoding(NULL, "iso8859-1");;
}
pDB = GetConfigDict(interp);