mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 18:00:40 -08:00
Fix bug #16819 with dereferencing invalid face pointer.
src/xdisp.c (init_iterator): Don't dereference a bogus face pointer.
This commit is contained in:
parent
f5bee33b82
commit
44a2be2d66
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2014-02-20 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (init_iterator): Don't dereference a bogus face
|
||||
pointer. (Bug#16819)
|
||||
|
||||
2014-02-20 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* data.c (Fdefalias): Doc fix.
|
||||
|
|
|
|||
|
|
@ -2928,7 +2928,7 @@ init_iterator (struct it *it, struct window *w,
|
|||
/* If we have a boxed mode line, make the first character appear
|
||||
with a left box line. */
|
||||
face = FACE_FROM_ID (it->f, remapped_base_face_id);
|
||||
if (face->box != FACE_NO_BOX)
|
||||
if (face && face->box != FACE_NO_BOX)
|
||||
it->start_of_box_run_p = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue