summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@wyplay.com>2011-11-04 08:49:24 (GMT)
committerVictor Stinner <vstinner@wyplay.com>2011-11-04 08:49:24 (GMT)
commit3d7acb08c43f0319b200c967b009e926daa97222 (patch)
treefbc8b215d7c5b84a17e8cb03275b8935ee09b8eb /Modules/_tkinter.c
parent54540ec917a47c39328e87b1f4ddf83adeca2f5c (diff)
downloadcpython-3d7acb08c43f0319b200c967b009e926daa97222.zip
cpython-3d7acb08c43f0319b200c967b009e926daa97222.tar.gz
cpython-3d7acb08c43f0319b200c967b009e926daa97222.tar.bz2
Issue #12342: Fix compilation on Mac OS X
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index f42f068..abbe0ec 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -993,7 +993,7 @@ AsObj(PyObject *value)
PyErr_Format(PyExc_ValueError,
"character U+%x is above the range "
"(U+0000-U+FFFF) allowed by Tcl",
- inbuf[i]);
+ ch);
ckfree(FREECAST outbuf);
return NULL;
#endif