diff options
| author | Andrea Alberti <a.alberti82@gmail.com> | 2026-05-13 17:45:54 +0200 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2026-05-16 11:48:34 +0300 |
| commit | a981517b72e8d5e07a8ea6cf31b2fd6dcda4ec1f (patch) | |
| tree | 46d6ee4e1211fc062aea094f28d790b7b360c22d | |
| parent | 8e374990357426c24d870f65051e591ca1c75b21 (diff) | |
Fill margins with 'margin' face on truncated screen lines
* src/xdisp.c (display_line): Remove the unnecessary condition that
row->used of the margin areas is zero, for when we call
'extend_face_to_end_of_line'. (Bug#80693)
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index b485d9ccf40..ca8fa5dffee 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -26657,10 +26657,8 @@ display_line (struct it *it, int cursor_vpos) != DEFAULT_FACE_ID || FACE_FROM_ID (it->f, margin_face_id)->background != FRAME_BACKGROUND_PIXEL (it->f)) - && ((WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 - && it->glyph_row->used[LEFT_MARGIN_AREA] == 0) - || (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 - && it->glyph_row->used[RIGHT_MARGIN_AREA] == 0))) + && (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 + || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) extend_face_to_end_of_line (it); } |
