aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2003-11-13 23:33:48 +0000
committerKenichi Handa2003-11-13 23:33:48 +0000
commit21228b3df0351fbc624d7ef6c168f733164064a0 (patch)
tree4698617c6901ddce9285d9a29380cf620e342da1 /src
parentd01b26fed6aa66dcbeb824a095d5141d904f7663 (diff)
downloademacs-21228b3df0351fbc624d7ef6c168f733164064a0.tar.gz
emacs-21228b3df0351fbc624d7ef6c168f733164064a0.zip
(set_lface_from_font_name): Fix for the case that
FONTNAME is not fontset name.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
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)
3354 LFACE_SLANT (lface) 3354 LFACE_SLANT (lface)
3355 = have_xlfd_p ? xlfd_symbolic_slant (&font) : Qnormal; 3355 = have_xlfd_p ? xlfd_symbolic_slant (&font) : Qnormal;
3356 3356
3357 if (fontset) 3357 if (fontset > 0)
3358 { 3358 {
3359 LFACE_FONT (lface) = build_string (font_info->full_name); 3359 LFACE_FONT (lface) = build_string (font_info->full_name);
3360 LFACE_FONTSET (lface) = fontset_name (fontset); 3360 LFACE_FONTSET (lface) = fontset_name (fontset);