Skip to content

Commit

Permalink
Replace calls to deprecated vwprintw with vw_printw
Browse files Browse the repository at this point in the history
  • Loading branch information
rbergen committed Feb 7, 2021
1 parent be187c5 commit e7fef1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int printmw(const char* fmt, ...)
int retval;

va_start(args, fmt);
retval = vwprintw(MAINWINDOW, fmt, args);
retval = vw_printw(MAINWINDOW, fmt, args);
va_end(args);

return retval;
Expand Down Expand Up @@ -316,7 +316,7 @@ void printcmdstr(const char* fmt, ...)
wattron(INPUTWINDOW, ATTR_ERROR);

va_start(args, fmt);
vwprintw(INPUTWINDOW, fmt, args);
vw_printw(INPUTWINDOW, fmt, args);
va_end(args);

wattroff(INPUTWINDOW, ATTR_ERROR);
Expand Down

0 comments on commit e7fef1a

Please sign in to comment.