X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftestcurs.c;h=f9762b0b328a848550631c63c7eec48d4c4b3f4f;hp=ab7e1718cb1bdaaa610c4ea54f1b93a0ef3c9418;hb=cf6a62567b2365c8678b7d561845bdbd1739e5da;hpb=8890c8f28a1db5995ef17f52a7d8c0b9cf574210 diff --git a/test/testcurs.c b/test/testcurs.c index ab7e1718..f9762b0b 100644 --- a/test/testcurs.c +++ b/test/testcurs.c @@ -6,7 +6,7 @@ * 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 @@ -73,7 +73,7 @@ initTest(WINDOW **win) 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; @@ -557,7 +557,7 @@ resizeTest(WINDOW *dummy GCC_UNUSED) win1 = newwin(10, 50, 14, 25); if (win1 == NULL) { - exit_curses(); + stop_curses(); return; } #ifdef A_COLOR @@ -760,7 +760,7 @@ main( delwin(win); - exit_curses(); + stop_curses(); #ifdef XCURSES XCursesExit(); #endif