From c30fbd1d8d2c3e0b85678db8de8204189f9a67f8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 18 Jul 2009 11:06:35 +0000 Subject: [PATCH] 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. --- screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen.c b/screen.c index aae659c0..092858f8 100644 --- a/screen.c +++ b/screen.c @@ -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