# HG changeset patch # User Kenichi Handa # Date 1088569206 0 # Node ID e94e49dc760e3b810a4a6533469508bc903403c6 # Parent 62d04caf8fb9e872f6fffd854f7b7cdd02de96a8 (Fface_font): Fix previous change. diff -r 62d04caf8fb9 -r e94e49dc760e src/xfaces.c --- 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);