diff options
| author | Steve Price <steve@FreeBSD.org> | 1998-01-01 23:27:10 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1998-01-01 23:27:10 +0000 |
| commit | e2263d244facbc211941607b2da85f608677f349 (patch) | |
| tree | dd1c43eb00a582caff4b6a7aa838dfcfec257837 /lib/libncurses | |
| parent | 953757afd3ddb11ccf7c4a498a5f684e295c7ec1 (diff) | |
Notes
Diffstat (limited to 'lib/libncurses')
| -rw-r--r-- | lib/libncurses/lib_insdel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncurses/lib_insdel.c b/lib/libncurses/lib_insdel.c index 73d736506c4a..eb30f20a00ea 100644 --- a/lib/libncurses/lib_insdel.c +++ b/lib/libncurses/lib_insdel.c @@ -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 */ |
