File: 07_replace_dep_function.patch

package info (click to toggle)
procinfo 1%3A2.0.304-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 552 kB
  • sloc: cpp: 1,633; sh: 153; perl: 84; ansic: 28; makefile: 27
file content (16 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Replace deprecated function
Author: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>

diff --git a/lib/prettyPrint.cpp b/lib/prettyPrint.cpp
index 60019a7..14bfb95 100644
--- a/lib/prettyPrint.cpp
+++ b/lib/prettyPrint.cpp
@@ -39,7 +39,7 @@ static int print(const char *fmt, ...) {
 	va_start(argp, fmt);
 
 	if(ncursesInit) {
-		code = vwprintw(stdscr, fmt, argp);
+		code = vw_printw(stdscr, fmt, argp);
 	} else {
 		code = vprintf(fmt, argp);
 	}