X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fmovewindow.c;h=1e890fa70ab58783a7fdd38dc9b98831588b2c35;hp=dca14d44b9d34c09c03671d47946fd155d364192;hb=44963481f15221316cbf9f7289a710f54cab2c84;hpb=bf5877fb3d0985dcde0e71f52be87d865f76a7ca diff --git a/test/movewindow.c b/test/movewindow.c index dca14d44..1e890fa7 100644 --- a/test/movewindow.c +++ b/test/movewindow.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: movewindow.c,v 1.47 2018/06/09 17:35:50 tom Exp $ + * $Id: movewindow.c,v 1.48 2018/11/24 21:29:46 tom Exp $ * * Demonstrate move functions for windows and derived windows from the curses * library. @@ -105,8 +105,10 @@ message(int lineno, CONST_FMT char *fmt, va_list argp) vsprintf(buffer, fmt, argp); addstr(buffer); } -#else +#elif defined(HAVE_VW_PRINTW) vw_printw(stdscr, fmt, argp); +#else + vwprintw(stdscr, fmt, argp); #endif move(y, x);