Mercurial > emacs
changeset 28263:73181b84ea57
(lface_same_font_attributes_p): Compare font attributes
as strings only if both are known to be strings.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 22 Mar 2000 12:08:11 +0000 |
parents | 5fafac497e27 |
children | db6bbbe07da8 |
files | src/xfaces.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Wed Mar 22 04:18:10 2000 +0000 +++ b/src/xfaces.c Wed Mar 22 12:08:11 2000 +0000 @@ -4432,6 +4432,7 @@ && EQ (lface1[LFACE_SLANT_INDEX], lface2[LFACE_SLANT_INDEX]) && (EQ (lface1[LFACE_FONT_INDEX], lface2[LFACE_FONT_INDEX]) || (STRINGP (lface1[LFACE_FONT_INDEX]) + && STRINGP (lface2[LFACE_FONT_INDEX]) && xstricmp (XSTRING (lface1[LFACE_FONT_INDEX])->data, XSTRING (lface2[LFACE_FONT_INDEX])->data)))); }