Mercurial > emacs
diff src/fontset.c @ 102241:ef1ec0a2e8dd
(fontset_find_font): Fix the condition for checking
unavailable font.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 24 Feb 2009 11:57:32 +0000 |
parents | 97c9e9322753 |
children | 5988cd89cf0b |
line wrap: on
line diff
--- a/src/fontset.c Tue Feb 24 11:53:34 2009 +0000 +++ b/src/fontset.c Tue Feb 24 11:57:32 2009 +0000 @@ -579,7 +579,7 @@ /* This is a sign of not to try the other fonts. */ return Qt; 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. */ continue;