; * src/xdisp.c (display_line): Fix commentary (bug#80693).

This commit is contained in:
Eli Zaretskii 2026-05-16 11:54:43 +03:00
parent a981517b72
commit d3c72b8389

View file

@ -26643,13 +26643,11 @@ display_line (struct it *it, int cursor_vpos)
/* If the default face is remapped or the 'margin' face has a /* If the default face is remapped or the 'margin' face has a
non-default background, and the window has display margins, non-default background, and the window has display margins,
and no glyphs were written yet to the margins on this screen extend the face in the margin area so that the margins use
line, fill the margin area so that the margins use the the correct background. This handles all three truncation
correct background. Placed here, after the if/else-if chain paths: TTY/no-fringe truncation glyph, GUI
above, so it fires for all three truncation paths: TTY/no-fringe newline-overflow-into-fringe, and GUI regular truncation
truncation glyph, GUI newline-overflow-into-fringe, and GUI where the indicator is drawn as a fringe bitmap. */
regular truncation where the indicator is drawn as a fringe
bitmap. */
{ {
int margin_face_id = int margin_face_id =
lookup_basic_face (it->w, it->f, MARGIN_FACE_ID); lookup_basic_face (it->w, it->f, MARGIN_FACE_ID);