X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fechochar.c;h=1a3fd7d3a7833d68ef0b8ed9452f71aa7e96d75a;hp=ef649ca4f87246b188b39a8bc5ac6cebe58e8def;hb=12b49d3c56a6130feb2d39fbe2d6c1bc0838f0fa;hpb=93ed44d781ca36f55021e0ad55f1ce33de62f7ba;ds=sidebyside diff --git a/test/echochar.c b/test/echochar.c index ef649ca4..1a3fd7d3 100644 --- a/test/echochar.c +++ b/test/echochar.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: echochar.c,v 1.14 2017/09/04 11:48:15 tom Exp $ + * $Id: echochar.c,v 1.15 2017/09/30 15:42:10 tom Exp $ * * Demonstrate the echochar function (compare to dots.c). * Thomas Dickey - 2006/11/4 @@ -103,8 +103,7 @@ main(int argc GCC_UNUSED, } } - CATCHALL(onsig); - initscr(); + InitAndCatch(initscr(), onsig); use_colors = has_colors(); if (use_colors) {