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:
parent
cfd2d3b2c6
commit
8390e0ce62
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user