* wrs(5/28/93) -- modified to be consistent (perform identically) with either
* PDCurses or under Unix System V, R4
*
- * $Id: testcurs.c,v 1.54 2019/12/07 18:06:12 tom Exp $
+ * $Id: testcurs.c,v 1.55 2019/12/14 23:25:29 tom Exp $
*/
#include <test.priv.h>
height = 13; /* Create a drawing window */
*win = newwin(height, width, (LINES - height) / 2, (COLS - width) / 2);
if (*win == NULL) {
- exit_curses();
+ stop_curses();
return 0;
}
return 1;
win1 = newwin(10, 50, 14, 25);
if (win1 == NULL) {
- exit_curses();
+ stop_curses();
return;
}
#ifdef A_COLOR
delwin(win);
- exit_curses();
+ stop_curses();
#ifdef XCURSES
XCursesExit();
#endif