aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index d54b717a507..30be492d9b4 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -21578,7 +21578,8 @@ extend_face_to_end_of_line (struct it *it)
21578 || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) 21578 || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0))
21579 return; 21579 return;
21580 21580
21581 const int extend_face_id = (it->face_id == DEFAULT_FACE_ID) 21581 const int extend_face_id = (it->face_id == DEFAULT_FACE_ID
21582 || it->s != NULL)
21582 ? DEFAULT_FACE_ID 21583 ? DEFAULT_FACE_ID
21583 : face_at_pos (it, LFACE_EXTEND_INDEX); 21584 : face_at_pos (it, LFACE_EXTEND_INDEX);
21584 21585