Fix compilation of the curses module (broken by issue #16612).

This commit is contained in:
Serhiy Storchaka 2013-10-19 10:45:48 +03:00
parent 3182680210
commit a412f763b3
1 changed files with 1 additions and 1 deletions

View File

@ -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";