X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fmovewindow.c;h=1e890fa70ab58783a7fdd38dc9b98831588b2c35;hb=bfe3845eb1a2ff02a740e917b537e939ec4e44cb;hp=b8e9e049602dcf0298a27ae3c60a418a6e20e44d;hpb=aed072e27e60c2abc5ac0ab8113aacf9b4908d50;p=ncurses.git diff --git a/test/movewindow.c b/test/movewindow.c index b8e9e049..1e890fa7 100644 --- a/test/movewindow.c +++ b/test/movewindow.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006-2013,2017 Free Software Foundation, Inc. * + * Copyright (c) 2006-2017,2018 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 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: movewindow.c,v 1.46 2017/12/23 21:36:59 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,6 +105,8 @@ message(int lineno, CONST_FMT char *fmt, va_list argp) vsprintf(buffer, fmt, argp); addstr(buffer); } +#elif defined(HAVE_VW_PRINTW) + vw_printw(stdscr, fmt, argp); #else vwprintw(stdscr, fmt, argp); #endif