Commit dbcf3c03 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Ffontset_info): Check that face is non-null

before accessing its fields.
parent 18a0a39e
2001-05-16 Gerd Moellmann <gerd@gnu.org>
* fontset.c (Ffontset_info): Check that face is non-null
before accessing its fields.
2001-05-15 Gerd Moellmann <gerd@gnu.org>
* keyboard.c (read_key_sequence): Prevent generating a fake
......
......@@ -1319,7 +1319,7 @@ If FRAME is omitted, it defaults to the currently selected frame.")
if (INTEGERP (face_id))
{
face = FACE_FROM_ID (f, XINT (face_id));
if (face->font && face->font_name)
if (face && face->font && face->font_name)
{
font = build_string (face->font_name);
if (NILP (Fmember (font, XCDR (XCDR (elt)))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment