(fontset_find_font): Fix previous change.

This commit is contained in:
Kenichi Handa 2009-03-05 12:40:18 +00:00
parent 988a7ddb0c
commit 69a8e4848d

View file

@ -631,8 +631,7 @@ fontset_find_font (fontset, c, face, id, fallback)
if (! EQ (RFONT_DEF_FONT_DEF (rfont_def), font_def))
break;
font_object = RFONT_DEF_OBJECT (AREF (vec, i));
xassert (! NILP (font_object));
if (font_has_char (f, font_object, c))
if (! NILP (font_object) && font_has_char (f, font_object, c))
return rfont_def;
}