diff options
Diffstat (limited to 'src/fontset.c')
-rw-r--r-- | src/fontset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fontset.c b/src/fontset.c index 4ab1367431..d87901d42b 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -1304,7 +1304,7 @@ free_realized_fontsets (Lisp_Object base) { struct frame *f = XFRAME (FONTSET_FRAME (this)); int face_id = XINT (XCDR (XCAR (tail))); - struct face *face = FACE_FROM_ID (f, face_id); + struct face *face = FACE_OPT_FROM_ID (f, face_id); /* Face THIS itself is also freed by the following call. */ free_realized_face (f, face); @@ -1636,7 +1636,7 @@ appended. By default, FONT-SPEC overrides the previous settings. */) continue; if (fontset_id != FRAME_FONTSET (f)) continue; - face = FACE_FROM_ID (f, DEFAULT_FACE_ID); + face = FACE_OPT_FROM_ID (f, DEFAULT_FACE_ID); if (face) font_object = font_load_for_lface (f, face->lface, font_spec); else |