From e7fef1a8395662acf0a94e171de600b1b7b3f31b Mon Sep 17 00:00:00 2001 From: Rutger van Bergen Date: Sun, 7 Feb 2021 21:19:06 +0100 Subject: [PATCH] Replace calls to deprecated vwprintw with vw_printw --- src/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/console.cpp b/src/console.cpp index dfe3970..939b837 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -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; @@ -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);