Mercurial > emacs
changeset 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 | ae9bf3689aba |
children | 09a2c0075422 |
files | src/fontset.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;