Mercurial > emacs
changeset 94968:e87ef440216b
(font_clear_cache): Check if the cached vector of entities is nil
or not.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 14 May 2008 12:27:59 +0000 |
parents | ed0e1a85ef56 |
children | 916f0f042c9e |
files | src/font.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/font.c Wed May 14 11:46:24 2008 +0000 +++ b/src/font.c Wed May 14 12:27:59 2008 +0000 @@ -2237,7 +2237,7 @@ for (tail = XCDR (XCDR (cache)); CONSP (tail); tail = XCDR (tail)) { elt = XCAR (tail); - if (CONSP (elt) && FONT_SPEC_P (XCAR (elt))) + if (CONSP (elt) && FONT_SPEC_P (XCAR (elt)) && VECTORP (XCDR (elt))) { Lisp_Object vec = XCDR (elt); int i;