clear up some reported curses warnings

This commit is contained in:
nhmall
2019-10-06 09:07:49 -04:00
parent 57d87db92c
commit 193f8c39bd
5 changed files with 12 additions and 9 deletions
+1
View File
@@ -392,6 +392,7 @@ curses_ext_cmd()
extwin = newwin(1, w - 2, y0 + 1, x0 + 1);
if (w - 4 < maxlen)
maxlen = w - 4;
nhUse(h); /* needed only to give getmaxyx three arguments */
} else {
curses_get_window_xy(MESSAGE_WIN, &winx, &winy);
curses_get_window_size(MESSAGE_WIN, &messageh, &messagew);