Commit a412f763 authored by Serhiy Storchaka's avatar Serhiy Storchaka

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

parent 31826802
...@@ -676,7 +676,7 @@ curses_window_addch_impl(PyObject *self, int group_left_1, int x, int y, PyObjec ...@@ -676,7 +676,7 @@ curses_window_addch_impl(PyObject *self, int group_left_1, int x, int y, PyObjec
} }
else else
#else #else
type = PyCurses_ConvertToCchar_t(cwself, chobj, &cch); type = PyCurses_ConvertToCchar_t(cwself, ch, &cch);
#endif #endif
if (type == 1) { if (type == 1) {
funcname = "addch"; funcname = "addch";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment