forked from github/server
CID 22502 Argument cannot be negative
these curses macros are hard to decipher, I think this may be a kind of false positive because stdscr is always not-null?
This commit is contained in:
parent
f83e71e99a
commit
ba69f72116
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ void run_mapper(void)
|
|||
curs_set(1);
|
||||
|
||||
set_readline(curses_readline);
|
||||
|
||||
assert(stdscr);
|
||||
getbegyx(stdscr, x, y);
|
||||
width = getmaxx(stdscr);
|
||||
height = getmaxy(stdscr);
|
||||
|
|
Loading…
Reference in a new issue