changeset 38734:a57a66bf62db

(adjust_glyph_matrix): In the optimization for windows whose height has changed, disable partially visible lines.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 08 Aug 2001 11:41:07 +0000
parents c28225b647f2
children 040e65ae1b2b
files src/dispnew.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Wed Aug 08 10:54:12 2001 +0000
+++ b/src/dispnew.c	Wed Aug 08 11:41:07 2001 +0000
@@ -801,7 +801,9 @@
 	      for (i = 0; i < matrix->nrows && matrix->rows[i].enabled_p; ++i)
 		if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i) >= window_height)
 		  {
-		    ++i;
+		    if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i)
+			== window_height)
+		      ++i;
 		    break;
 		  }