Commit cf064184 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(fontset_find_font): Fix the condition for checking

unavailable font.
parent 8810a12f
...@@ -579,7 +579,7 @@ fontset_find_font (fontset, c, face, id, fallback) ...@@ -579,7 +579,7 @@ fontset_find_font (fontset, c, face, id, fallback)
/* This is a sign of not to try the other fonts. */ /* This is a sign of not to try the other fonts. */
return Qt; return Qt;
if (INTEGERP (RFONT_DEF_FACE (elt)) if (INTEGERP (RFONT_DEF_FACE (elt))
&& XINT (AREF (elt, 1)) < 0) && XINT (RFONT_DEF_FACE (elt)) < 0)
/* We couldn't open this font last time. */ /* We couldn't open this font last time. */
continue; continue;
......
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