From: Kenichi Handa Date: Tue, 13 Jan 2004 01:43:00 +0000 (+0000) Subject: (compute_char_face): Call FACE_FOR_CHAR with POS and OBJECT args. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1647 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=779c6fb661f53d44908dc2cce483369d34c72941;p=emacs.git (compute_char_face): Call FACE_FOR_CHAR with POS and OBJECT args. --- diff --git a/src/xfaces.c b/src/xfaces.c index 3a84ab02122..84a43b59ec6 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -7301,7 +7301,7 @@ compute_char_face (f, ch, prop) if (NILP (prop)) { struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); - face_id = FACE_FOR_CHAR (f, face, ch); + face_id = FACE_FOR_CHAR (f, face, ch, -1, Qnil); } else { @@ -7313,7 +7313,7 @@ compute_char_face (f, ch, prop) if (! ASCII_CHAR_P (ch)) { face = FACE_FROM_ID (f, face_id); - face_id = FACE_FOR_CHAR (f, face, ch); + face_id = FACE_FOR_CHAR (f, face, ch, -1, Qnil); } }