Commit 69a8e484 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(fontset_find_font): Fix previous change.

parent 988a7ddb
......@@ -631,8 +631,7 @@ fontset_find_font (fontset, c, face, id, fallback)
if (! EQ (RFONT_DEF_FONT_DEF (rfont_def), font_def))
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment