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:
Enno Rehling 2015-11-05 08:40:09 +01:00
parent f83e71e99a
commit ba69f72116
1 changed files with 1 additions and 1 deletions

View File

@ -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);