BADSIG --> SIG_ERR
This commit is contained in:
parent
80ab28ea30
commit
799dc259d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue