diff options
| author | Gerd Moellmann | 2001-08-08 11:41:07 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-08-08 11:41:07 +0000 |
| commit | 0f41e9482a6feaca2e4aec22bf8b339c3d932ce4 (patch) | |
| tree | 6dd3c20ca3a88fa128ce1cccb444af540760313a /src | |
| parent | 8a8ef149d07a98d1ddc09e60fb6edfe81b717373 (diff) | |
| download | emacs-0f41e9482a6feaca2e4aec22bf8b339c3d932ce4.tar.gz emacs-0f41e9482a6feaca2e4aec22bf8b339c3d932ce4.zip | |
(adjust_glyph_matrix): In the optimization for
windows whose height has changed, disable partially visible
lines.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) | |||
| 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 | ||