changeset 89701:a1d897828f2f

(compute_char_face): Call FACE_FOR_CHAR with POS and OBJECT args.
author Kenichi Handa <handa@m17n.org>
date Tue, 13 Jan 2004 01:43:00 +0000
parents 90509a3fb47f
children c7050f1a1686
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue Jan 13 01:40:47 2004 +0000
+++ b/src/xfaces.c	Tue Jan 13 01:43:00 2004 +0000
@@ -7301,7 +7301,7 @@
   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 @@
       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);
 	}
     }