1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

(adjust_glyph_matrix): In the optimization for

windows whose height has changed, disable partially visible
lines.
This commit is contained in:
Gerd Moellmann 2001-08-08 11:41:07 +00:00
parent 8a8ef149d0
commit 0f41e9482a

View File

@ -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;
}