Mercurial > emacs
changeset 89620:769df37c5ffa
(set_lface_from_font_name): Fix for the case that
FONTNAME is not fontset name.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 13 Nov 2003 23:33:48 +0000 |
parents | 3ccb0f55cd2e |
children | ebf92ac35403 |
files | src/xfaces.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Thu Nov 13 18:19:24 2003 +0000 +++ b/src/xfaces.c Thu Nov 13 23:33:48 2003 +0000 @@ -3354,7 +3354,7 @@ LFACE_SLANT (lface) = have_xlfd_p ? xlfd_symbolic_slant (&font) : Qnormal; - if (fontset) + if (fontset > 0) { LFACE_FONT (lface) = build_string (font_info->full_name); LFACE_FONTSET (lface) = fontset_name (fontset);