From a412f763b36250cc8c9c521a7c9a7e3a2a3ba58c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 19 Oct 2013 10:45:48 +0300 Subject: Fix compilation of the curses module (broken by issue #16612). --- Modules/_cursesmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index c61f67f..1f192dc 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -676,7 +676,7 @@ curses_window_addch_impl(PyObject *self, int group_left_1, int x, int y, PyObjec } else #else - type = PyCurses_ConvertToCchar_t(cwself, chobj, &cch); + type = PyCurses_ConvertToCchar_t(cwself, ch, &cch); #endif if (type == 1) { funcname = "addch"; -- cgit v0.12