X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fxmas.c;h=78b187c20a3e4d3ecc5bfd909c924509011b1a41;hp=f66ba6f04c612b8e70dcd5f189d115804c023d7b;hb=02f1dee48fe8af6ce054388fba739aa4f975004e;hpb=12b49d3c56a6130feb2d39fbe2d6c1bc0838f0fa diff --git a/test/xmas.c b/test/xmas.c index f66ba6f0..78b187c2 100644 --- a/test/xmas.c +++ b/test/xmas.c @@ -92,7 +92,7 @@ /******************************************************************************/ /* - * $Id: xmas.c,v 1.33 2017/09/30 19:14:13 tom Exp $ + * $Id: xmas.c,v 1.34 2019/12/14 23:25:29 tom Exp $ */ #include @@ -638,7 +638,7 @@ done(int sig GCC_UNUSED) { move(LINES - 1, 0); refresh(); - exit_curses(); + stop_curses(); #if NO_LEAKS if (my_pairs != 0) @@ -749,7 +749,7 @@ main(int argc, char *argv[]) (w_holiday = newwin(1, 26, 3, 27)) == 0 || (w_del_msg = newwin(1, 19, 23, 60)) == 0) { - exit_curses(); + stop_curses(); fprintf(stderr, "Cannot create windows - screen too small\n"); ExitProgram(EXIT_FAILURE); }