aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/fontset.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cafe4b22ac1..7c3d7b660a6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-05-16 Gerd Moellmann <gerd@gnu.org>
2
3 * fontset.c (Ffontset_info): Check that face is non-null
4 before accessing its fields.
5
12001-05-15 Gerd Moellmann <gerd@gnu.org> 62001-05-15 Gerd Moellmann <gerd@gnu.org>
2 7
3 * keyboard.c (read_key_sequence): Prevent generating a fake 8 * keyboard.c (read_key_sequence): Prevent generating a fake
diff --git a/src/fontset.c b/src/fontset.c
index 00ae161baa2..5e359ddef8f 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1319,7 +1319,7 @@ If FRAME is omitted, it defaults to the currently selected frame.")
1319 if (INTEGERP (face_id)) 1319 if (INTEGERP (face_id))
1320 { 1320 {
1321 face = FACE_FROM_ID (f, XINT (face_id)); 1321 face = FACE_FROM_ID (f, XINT (face_id));
1322 if (face->font && face->font_name) 1322 if (face && face->font && face->font_name)
1323 { 1323 {
1324 font = build_string (face->font_name); 1324 font = build_string (face->font_name);
1325 if (NILP (Fmember (font, XCDR (XCDR (elt))))) 1325 if (NILP (Fmember (font, XCDR (XCDR (elt)))))