Reinstate del_curterm ifdef bits.

pull/2599/head
Nicholas Marriott 2021-03-01 10:51:24 +00:00
parent ba9f89c44e
commit 9cd45ddad3
1 changed files with 3 additions and 0 deletions

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);
}