X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdots_curses.c;h=b3713888a3cf97c5136ff9e56551402cb5a33c6f;hp=c344280a9c51fa8cccdf1a8db491975bba8307ae;hb=5e1e572b71ae31a6071daa24e2460a68a6f1003c;hpb=a924c24b2535cccdc0f5f991cd8ddcadcfa1f0d2 diff --git a/test/dots_curses.c b/test/dots_curses.c index c344280a..b3713888 100644 --- a/test/dots_curses.c +++ b/test/dots_curses.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2014 Free Software Foundation, Inc. * + * Copyright (c) 2014,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 * @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey * - * $Id: dots_curses.c,v 1.3 2014/08/09 22:28:42 tom Exp $ + * $Id: dots_curses.c,v 1.4 2017/04/15 14:13:30 tom Exp $ * * A simple demo of the curses interface used for comparison with termcap. */ @@ -142,7 +142,7 @@ main(int argc GCC_UNUSED, napms(1); } } - addch((chtype) p); + AddCh(p); refresh(); ++total_chars; }