From 779c6fb661f53d44908dc2cce483369d34c72941 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 13 Jan 2004 01:43:00 +0000 Subject: [PATCH] (compute_char_face): Call FACE_FOR_CHAR with POS and OBJECT args. --- src/xfaces.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.2