summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index aefef06f77..26557caae4 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -301,7 +301,7 @@ Py_InitializeEx(int install_sigs)
#ifdef MS_WINDOWS
if (!overridden) {
icodeset = ibuf;
- encoding = buf;
+ codeset = buf;
sprintf(ibuf, "cp%d", GetConsoleCP());
sprintf(buf, "cp%d", GetConsoleOutputCP());
}