changeset 94983:fa401b47e382

(Finternal_set_lisp_face_attribute): Be sure to make a font-spec for QCfont value.
author Kenichi Handa <handa@m17n.org>
date Thu, 15 May 2008 01:01:05 +0000
parents 4acb1f365ac4
children b8d24d4a4bdc
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Thu May 15 00:42:32 2008 +0000
+++ b/src/xfaces.c	Thu May 15 01:01:05 2008 +0000
@@ -3303,8 +3303,7 @@
 
 		      if (fontset >= 0)
 			value = fontset_ascii (fontset);
-		      else
-			value = font_spec_from_name (value);
+		      value = font_spec_from_name (value);
 		    }
 		  else
 		    signal_error ("Invalid font or font-spec", value);