From 7d72bb827da6e6a1a4df8752ace4513349adc28d Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 30 Apr 2009 07:01:33 +0000 Subject: [PATCH] (fontset_find_font): Check if rfont_def is Qnil or not. --- src/fontset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fontset.c b/src/fontset.c index 9007b30592e..2d3f10d493c 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -631,6 +631,8 @@ fontset_find_font (fontset, c, face, id, fallback) for (i++; i < ASIZE (vec); i++) { rfont_def = AREF (vec, i); + if (NILP (rfont_def)) + return Qt; if (! EQ (RFONT_DEF_FONT_DEF (rfont_def), font_def)) break; font_object = RFONT_DEF_OBJECT (AREF (vec, i)); -- 2.39.2