Commit 50c98fdc authored by Eli Zaretskii's avatar Eli Zaretskii

Fix assertion violations in fontset_find_font

* src/fontset.c (fontset_find_font): Don't assume REPERTORY
must be a fixnum.
parent 6b7136a8
......@@ -575,7 +575,7 @@ fontset_find_font (Lisp_Object fontset, int c, struct face *face,
repertory = FONT_DEF_REPERTORY (RFONT_DEF_FONT_DEF (rfont_def));
if (XFIXNUM (repertory) == charset_id)
if (FIXNUMP (repertory) && XFIXNUM_RAW (repertory) == charset_id)
charset_matched = i;
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