comparison src/xfaces.c @ 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 606f2d163a64
children 04866c5fd4b5
comparison
equal deleted inserted replaced
91332:6b6e684740e5 91333:06266d5f46a1
4538 else 4538 else
4539 f = check_x_frame (frame); 4539 f = check_x_frame (frame);
4540 4540
4541 #ifdef USE_FONT_BACKEND 4541 #ifdef USE_FONT_BACKEND
4542 if (enable_font_backend 4542 if (enable_font_backend
4543 && FRAME_WINDOW_P (XFRAME (frame))
4543 && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value)) 4544 && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value))
4544 { 4545 {
4545 int fontset; 4546 int fontset;
4546 4547
4547 if (EQ (attr, QCfontset)) 4548 if (EQ (attr, QCfontset))