mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix another problem with clearing the last line of the
display. Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
This commit is contained in:
parent
953757afd3
commit
e2263d244f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ winsdelln(WINDOW *win, int n)
|
|||
|
||||
if (n == 0)
|
||||
return OK;
|
||||
if (n == -1 && win->_cury == win->_maxy)
|
||||
if (win->_cury == win->_maxy && abs(n) == 1)
|
||||
return wclrtoeol(win);
|
||||
if (n < 0 && win->_cury - n > win->_maxy)
|
||||
/* request to delete too many lines */
|
||||
|
|
|
|||
Loading…
Reference in a new issue