Commit 0f41e948 authored by Gerd Moellmann's avatar Gerd Moellmann

(adjust_glyph_matrix): In the optimization for

windows whose height has changed, disable partially visible
lines.
parent 8a8ef149
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment