summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dispnew.c5
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
new_rows = dim.height - matrix->rows_allocated;
matrix->rows = xpalloc (matrix->rows, &matrix->rows_allocated,
new_rows, INT_MAX, sizeof *matrix->rows);
- /* As a side effect, this sets the object of each glyph in the
- row to nil, so verify we will indeed get that. Redisplay
- relies on the object of special glyphs (truncation and
- continuation glyps and also blanks used to extend each line
- on a TTY) to be nil. */
memset (matrix->rows + old_alloc, 0,
(matrix->rows_allocated - old_alloc) * sizeof *matrix->rows);
}