1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00

(compute_char_face): Call FACE_FOR_CHAR with POS and OBJECT args.

This commit is contained in:
Kenichi Handa 2004-01-13 01:43:00 +00:00
parent f46a4dc1a5
commit 779c6fb661

View file

@ -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);
}
}