changeset 96027:6aa4148ea6bc

(realize_default_face): If the frame is not on window system, set the fontset of face to nil.
author Kenichi Handa <handa@m17n.org>
date Tue, 17 Jun 2008 04:49:34 +0000
parents eaf18e2f5aa1
children 00a2e3e88e58
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue Jun 17 02:33:22 2008 +0000
+++ b/src/xfaces.c	Tue Jun 17 04:49:34 2008 +0000
@@ -5587,6 +5587,8 @@
 	LFACE_WEIGHT (lface) = Qnormal;
       if (UNSPECIFIEDP (LFACE_SLANT (lface)))
 	LFACE_SLANT (lface) = Qnormal;
+      if (UNSPECIFIEDP (LFACE_FONTSET (lface)))
+	LFACE_FONTSET (lface) = Qnil;
     }
 
   if (UNSPECIFIEDP (LFACE_UNDERLINE (lface)))