commit | ad006bc6b66f335e87c0876d1b77af3541a4b517 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Fri Jul 17 18:35:11 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Fri Jul 17 18:35:11 2009 +0000 |
tree | c3bfdd94cecb24366715744d62e99c0ef79b62bd | |
parent | ce53936a2b56521903d69bac565391e37ad7e115 [diff] |
When resizing a screen smaller in alternate screen mode, all the lines needed could be consumed by deleting from the bottom, leaving none to be removed from the top. In this case, don't call grid_view_delete_lines with ny of 0 as this is incorrect and causes a bounds check to fatal error if built with -DDEBUG.