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.
This commit is contained in:
Nicholas Marriott 2009-07-18 11:06:35 +00:00
parent 6bc9ee3420
commit c30fbd1d8d

View File

@ -1,4 +1,4 @@
/* $Id: screen.c,v 1.93 2009-07-17 18:35:55 nicm Exp $ */
/* $Id: screen.c,v 1.94 2009-07-18 11:06:35 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>