changeset 91333:06266d5f46a1

(Finternal_set_lisp_face_attribute): Check if the frame is on a window system before accessing the fontset of the frame.
author Kenichi Handa <handa@m17n.org>
date Thu, 10 Jan 2008 12:31:02 +0000
parents 6b6e684740e5
children ee57eaa96e8c
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Wed Jan 09 03:27:04 2008 +0000
+++ b/src/xfaces.c	Thu Jan 10 12:31:02 2008 +0000
@@ -4540,6 +4540,7 @@
 
 #ifdef USE_FONT_BACKEND
 	  if (enable_font_backend
+	      && FRAME_WINDOW_P (XFRAME (frame))
 	      && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value))
 	    {
 	      int fontset;