From: Gerd Moellmann Date: Wed, 8 Aug 2001 11:41:07 +0000 (+0000) Subject: (adjust_glyph_matrix): In the optimization for X-Git-Tag: emacs-pretest-21.0.105~255 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f41e9482a6feaca2e4aec22bf8b339c3d932ce4;p=emacs.git (adjust_glyph_matrix): In the optimization for windows whose height has changed, disable partially visible lines. --- 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; }