diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index e76be21dcdc..06b34d88077 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -413,11 +413,6 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y | |||
| 413 | new_rows = dim.height - matrix->rows_allocated; | 413 | new_rows = dim.height - matrix->rows_allocated; |
| 414 | matrix->rows = xpalloc (matrix->rows, &matrix->rows_allocated, | 414 | matrix->rows = xpalloc (matrix->rows, &matrix->rows_allocated, |
| 415 | new_rows, INT_MAX, sizeof *matrix->rows); | 415 | new_rows, INT_MAX, sizeof *matrix->rows); |
| 416 | /* As a side effect, this sets the object of each glyph in the | ||
| 417 | row to nil, so verify we will indeed get that. Redisplay | ||
| 418 | relies on the object of special glyphs (truncation and | ||
| 419 | continuation glyps and also blanks used to extend each line | ||
| 420 | on a TTY) to be nil. */ | ||
| 421 | memset (matrix->rows + old_alloc, 0, | 416 | memset (matrix->rows + old_alloc, 0, |
| 422 | (matrix->rows_allocated - old_alloc) * sizeof *matrix->rows); | 417 | (matrix->rows_allocated - old_alloc) * sizeof *matrix->rows); |
| 423 | } | 418 | } |