mvprintw is varadic - it doesn't take a va_list. Use vw_printw

instead.

Submitted by:	Andrew Gordon <arg@arg1.demon.co.uk>
MFC after:	1 week
This commit is contained in:
dwmalone 2001-06-06 19:44:58 +00:00
parent cfd2d3b2c6
commit 8390e0ce62

View File

@ -65,7 +65,8 @@ error(char *str, ...)
va_start(arg, str);
stdscr = Score;
mvprintw(ERR_Y, ERR_X, str, arg);
move(ERR_Y, ERR_X);
vw_printw(stdscr, str, arg);
va_end(arg);
clrtoeol();
putchar('\07');