# HG changeset patch # User Gerd Moellmann # Date 990008289 0 # Node ID 7893c43d43c2991305056d33f465116c69d1885b # Parent cfa03ea9adec702cb54e418eef6500f429e7bcb6 (Ffontset_info): Check that face is non-null before accessing its fields. diff -r cfa03ea9adec -r 7893c43d43c2 src/fontset.c --- a/src/fontset.c Tue May 15 13:38:23 2001 +0000 +++ b/src/fontset.c Wed May 16 10:18:09 2001 +0000 @@ -1319,7 +1319,7 @@ 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)))))