BADSIG --> SIG_ERR

This commit is contained in:
deraadt 1993-06-21 00:55:05 +00:00
parent 80ab28ea30
commit 799dc259d9
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
#define SLOT_R (SLOT_L+SLOT_X-1)
#ifdef SIGTSTP
#define SCREENTEST() (initscr() != ERR && signal(SIGTSTP, SIG_DFL) != BADSIG && STAT_R < COLS && SCROLL_Y > 0)
#define SCREENTEST() (initscr() != ERR && signal(SIGTSTP, SIG_DFL) != SIG_ERR && STAT_R < COLS && SCROLL_Y > 0)
#else
#define SCREENTEST() (initscr() != ERR && STAT_R < COLS && SCROLL_Y > 0)
#endif