diff options
Diffstat (limited to 'sail/player.h')
-rw-r--r-- | sail/player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sail/player.h b/sail/player.h index c28cdbc1..e875ab84 100644 --- a/sail/player.h +++ b/sail/player.h @@ -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 |