]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes when a reversed glyph row starts with a composition
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 11:43:16 +0000 (13:43 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 11:43:16 +0000 (13:43 +0200)
commitdaff3bda10d15fe20f5f6e9c5f5ca60b97cf80df
treeb92ccb3b6a0f81560ef72773a189650326f33a63
parentb697bb91a1334e70bd7c8364e5ff6505b0edb21a
Avoid crashes when a reversed glyph row starts with a composition

* src/dispnew.c (build_frame_matrix_from_leaf_window): Add an
assertion to prevent us from overwriting non-char glyphs with the
vertical border glyph.
* src/xdisp.c (extend_face_to_end_of_line): Account for one glyph
possibly inserted by append_space_for_newline.  (Bug#44506)
Remove a kludgey correction for an off-by-one error in column
counting, which is no longer needed.
src/dispnew.c
src/xdisp.c