diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-19 04:10:48 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-19 04:10:48 +0000 |
| commit | e314eb04c734963feae643dc1eada7a54e355232 (patch) | |
| tree | 5a995e6228af04315b17d87f82991d8e98364537 /gnu/lib/libdialog/kernel.c | |
| parent | 23893997eb7b464ed0a389f51c7896fde4ffd91f (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libdialog/kernel.c')
| -rw-r--r-- | gnu/lib/libdialog/kernel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c index 4a45dd32e559..25cf4b440d83 100644 --- a/gnu/lib/libdialog/kernel.c +++ b/gnu/lib/libdialog/kernel.c @@ -99,7 +99,8 @@ void init_dialog(void) exit(-1); #endif - initscr(); /* Init curses */ + if (initscr() == NULL) /* Init curses */ + exit(-1); keypad(stdscr, TRUE); cbreak(); noecho(); |
