Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-145376: Fix _cursesmodule.c build on FreeBSD/macOS
  • Loading branch information
vstinner committed Mar 9, 2026
commit a3e56a057ee16d631869c9e0c4801128e4a211c9
2 changes: 2 additions & 0 deletions Modules/_cursesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,9 @@ _curses_window_addstr_impl(PyCursesWindowObject *self, int group_left_1,
else
#endif
{
#ifdef HAVE_NCURSESW
assert(wstr == NULL);
#endif
const char *str = PyBytes_AS_STRING(bytesobj);
if (use_xy) {
rtn = mvwaddstr(self->win,y,x,str);
Expand Down
Loading