Reinstate del_curterm ifdef bits.

This commit is contained in:
Nicholas Marriott 2021-03-01 10:51:24 +00:00
parent ba9f89c44e
commit 9cd45ddad3

View File

@ -695,7 +695,10 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps,
(*ncaps)++;
}
#if !defined(NCURSES_VERSION_MAJOR) || NCURSES_VERSION_MAJOR > 5 || \
(NCURSES_VERSION_MAJOR == 5 && NCURSES_VERSION_MINOR > 6)
del_curterm(cur_term);
#endif
return (0);
}