Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmetic: deprecation warning #3

Open
hboetes opened this issue Nov 9, 2019 · 0 comments
Open

cosmetic: deprecation warning #3

hboetes opened this issue Nov 9, 2019 · 0 comments

Comments

@hboetes
Copy link

hboetes commented Nov 9, 2019

Here is a fix for a deprecation warning, tested and works.

diff --git a/io.c b/io.c
index 447d57b..b7338a3 100644
--- a/io.c
+++ b/io.c
@@ -142,7 +142,7 @@ void out_printf (char *format, ...)
 {
    va_list ap;
    va_start (ap,format);
-   vwprintw (stdscr,format,ap);
+   vw_printw (stdscr,format,ap);
    va_end (ap);
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant