Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a412f76

Browse files
Fix compilation of the curses module (broken by issue #16612).
1 parent 3182680 commit a412f76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_cursesmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ curses_window_addch_impl(PyObject *self, int group_left_1, int x, int y, PyObjec
676676
}
677677
else
678678
#else
679-
type = PyCurses_ConvertToCchar_t(cwself, chobj, &cch);
679+
type = PyCurses_ConvertToCchar_t(cwself, ch, &cch);
680680
#endif
681681
if (type == 1) {
682682
funcname = "addch";

0 commit comments

Comments
 (0)