Mercurial > emacs
comparison src/dispnew.c @ 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 | 42e75caf68ff |
children | bb32ae33769e |
comparison
equal
deleted
inserted
replaced
38733:c28225b647f2 | 38734:a57a66bf62db |
---|---|
799 { | 799 { |
800 /* Find the last row in the window. */ | 800 /* Find the last row in the window. */ |
801 for (i = 0; i < matrix->nrows && matrix->rows[i].enabled_p; ++i) | 801 for (i = 0; i < matrix->nrows && matrix->rows[i].enabled_p; ++i) |
802 if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i) >= window_height) | 802 if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i) >= window_height) |
803 { | 803 { |
804 ++i; | 804 if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i) |
805 == window_height) | |
806 ++i; | |
805 break; | 807 break; |
806 } | 808 } |
807 | 809 |
808 /* Window end is invalid, if inside of the rows that | 810 /* Window end is invalid, if inside of the rows that |
809 are invalidated below. */ | 811 are invalidated below. */ |