aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fontset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontset.c b/src/fontset.c
index 97bdbcef5bf..5fc92feb130 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1983,7 +1983,7 @@ format is the same as above. */)
1983 for (j = 0; j < ASIZE (val); j++) 1983 for (j = 0; j < ASIZE (val); j++)
1984 { 1984 {
1985 elt = AREF (val, j); 1985 elt = AREF (val, j);
1986 if (FONT_OBJECT_P (RFONT_DEF_OBJECT (elt))) 1986 if (!NILP (elt) && FONT_OBJECT_P (RFONT_DEF_OBJECT (elt)))
1987 { 1987 {
1988 Lisp_Object font_object = RFONT_DEF_OBJECT (elt); 1988 Lisp_Object font_object = RFONT_DEF_OBJECT (elt);
1989 Lisp_Object slot, name; 1989 Lisp_Object slot, name;