mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-07 20:59:37 +00:00
Prevent infloop in redisplay on TTY frames
* src/xdisp.c (extend_face_to_end_of_line): Avoid infloop when filling up display margins with the default face's background. (Bug#29789)
This commit is contained in:
parent
293720e930
commit
de7de9cc0c
1 changed files with 2 additions and 0 deletions
|
@ -20280,6 +20280,7 @@ extend_face_to_end_of_line (struct it *it)
|
|||
/* term.c:produce_glyphs advances it->current_x only for
|
||||
TEXT_AREA. */
|
||||
it->current_x += it->pixel_width;
|
||||
++it->glyph_row->used[LEFT_MARGIN_AREA];
|
||||
}
|
||||
|
||||
it->current_x = saved_x;
|
||||
|
@ -20317,6 +20318,7 @@ extend_face_to_end_of_line (struct it *it)
|
|||
{
|
||||
PRODUCE_GLYPHS (it);
|
||||
it->current_x += it->pixel_width;
|
||||
++it->glyph_row->used[RIGHT_MARGIN_AREA];
|
||||
}
|
||||
|
||||
it->area = TEXT_AREA;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue