Mercurial > emacs
changeset 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 | c254de7b810c |
files | src/xfaces.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);