Mercurial > emacs
changeset 37744:7893c43d43c2
(Ffontset_info): Check that face is non-null
before accessing its fields.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 16 May 2001 10:18:09 +0000 |
parents | cfa03ea9adec |
children | c05ae69405d1 |
files | src/fontset.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)))))