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
65f28919b3
commit
14784fdec9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77831
@ -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