diff src/xfaces.c @ 89948:e94e49dc760e

(Fface_font): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Wed, 30 Jun 2004 04:20:06 +0000
parents 62d04caf8fb9
children ad8c5c667a14
line wrap: on
line diff
--- a/src/xfaces.c	Wed Jun 30 04:12:09 2004 +0000
+++ b/src/xfaces.c	Wed Jun 30 04:20:06 2004 +0000
@@ -4998,7 +4998,7 @@
       if (! face)
 	return Qnil;
 #ifdef HAVE_WINDOW_SYSTEM
-      if (!NILP (character))
+      if (FRAME_WINDOW_P (f) && !NILP (character))
 	{
 	  CHECK_CHARACTER (character);
 	  face_id = FACE_FOR_CHAR (f, face, XINT (character), -1, Qnil);