From 21228b3df0351fbc624d7ef6c168f733164064a0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 13 Nov 2003 23:33:48 +0000 Subject: [PATCH] (set_lface_from_font_name): Fix for the case that FONTNAME is not fontset name. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index 067e6fd445e..3a84ab02122 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -3354,7 +3354,7 @@ set_lface_from_font_name (f, lface, fontname, force_p, may_fail_p) 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); -- 2.39.2