From 80823d7ed75fef43b47a1f9312224bd93b1628ae Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sun, 22 Jul 2012 13:56:54 +0300 Subject: [PATCH] #15094: fix incorrectly placed #endif in _tkinter.c. Patch by Serhiy Storchaka. --- Misc/NEWS | 3 +++ Modules/_tkinter.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index a960f2fa29e..62099bfa085 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -52,6 +52,9 @@ Core and Builtins Library ------- +- Issue #15094: Incorrectly placed #endif in _tkinter.c. + Patch by Serhiy Storchaka. + - Issue #13922: argparse no longer incorrectly strips '--'s that appear after the first one. diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f6cd88d69c6..70f47036d06 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -996,8 +996,8 @@ AsObj(PyObject *value) ch); ckfree(FREECAST outbuf); return NULL; -#endif } +#endif outbuf[i] = ch; } result = Tcl_NewUnicodeObj(outbuf, size);