From 0f41e9482a6feaca2e4aec22bf8b339c3d932ce4 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 8 Aug 2001 11:41:07 +0000 Subject: [PATCH] (adjust_glyph_matrix): In the optimization for windows whose height has changed, disable partially visible lines. --- src/dispnew.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dispnew.c b/src/dispnew.c index 5e16897b93f..c8700f3563e 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -801,7 +801,9 @@ adjust_glyph_matrix (w, matrix, x, y, dim) 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; } -- 2.39.2