X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_new_pair.c;h=bd62a089741ff6d9f768068a5517335eb29d672b;hp=a4cbb5370dcbec8ba03fc7db13ba56dced2873c8;hb=cf6a62567b2365c8678b7d561845bdbd1739e5da;hpb=9208e1bde56ebb9cc550fd93034f1d4650518b11 diff --git a/test/demo_new_pair.c b/test/demo_new_pair.c index a4cbb537..bd62a089 100644 --- a/test/demo_new_pair.c +++ b/test/demo_new_pair.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2017,2018 Free Software Foundation, Inc. * + * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +27,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: demo_new_pair.c,v 1.19 2018/05/12 14:30:04 tom Exp $ + * $Id: demo_new_pair.c,v 1.21 2020/02/02 23:34:34 tom Exp $ * * Demonstrate the alloc_pair() function. */ @@ -336,7 +337,7 @@ main(int argc, char *argv[]) total_cells += 1 + (use_wide ? 1 : 0); ++current; } - exit_curses(); + stop_curses(); fclose(output); printf("%.1f cells/second\n",