X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fpicsmap.c;h=47a9388bdada24eccf1fc31894522267afb446e6;hp=e971140a5186ab0559cb7ff9baedb0015bf50b81;hb=5d8dbcdd9423bf9821db414fd9ec792ccf1f1027;hpb=5c2245b6fc619f8d96ce940281dfbf13b5b8900b diff --git a/test/picsmap.c b/test/picsmap.c index e971140a..47a9388b 100644 --- a/test/picsmap.c +++ b/test/picsmap.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: picsmap.c,v 1.101 2017/08/20 16:42:13 tom Exp $ + * $Id: picsmap.c,v 1.103 2017/09/06 09:21:38 tom Exp $ * * Author: Thomas E. Dickey * @@ -49,7 +49,6 @@ */ #include -#include #include #include @@ -1703,7 +1702,7 @@ main(int argc, char *argv[]) init_palette(palette_path); } scrollok(stdscr, FALSE); - endwin(); + exit_curses(); } if (optind >= argc) giveup("expected at least one image filename");