; * src/dispnew.c (adjust_glyph_matrix): Add comment (bug#77039).

This commit is contained in:
Eli Zaretskii 2025-03-17 14:16:45 +02:00
parent c44f34475a
commit 4008e664a8

View file

@ -506,6 +506,8 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y
row->glyphs[LEFT_MARGIN_AREA]
= xnrealloc (row->glyphs[LEFT_MARGIN_AREA],
dim.width, sizeof (struct glyph));
/* We actually need to clear only the 'frame' member, but
it's easier to clear everything. */
memset (row->glyphs[LEFT_MARGIN_AREA], 0,
dim.width * sizeof (struct glyph));