Commit 0ff75233 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

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

parent ad3aaf33
......@@ -547,8 +547,11 @@ fontset_find_font (fontset, c, face, id, fallback)
for (i = 0; i < ASIZE (vec); i++)
Lisp_Object rfont_def = AREF (vec, i);
Lisp_Object repertory
Lisp_Object repertory;
if (NILP (rfont_def))
repertory = FONT_DEF_REPERTORY (RFONT_DEF_FONT_DEF (rfont_def));
if (XINT (repertory) == id)
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