(fontset_find_font): Check if rfont_def is Qnil or not.

This commit is contained in:
Kenichi Handa 2009-04-30 07:01:33 +00:00
parent 6970f632f1
commit 7d72bb827d

View file

@ -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));