]> git.eshelyaron.com Git - emacs.git/commitdiff
(FACE_FOR_CHAR): New args POS and OBJECT.
authorKenichi Handa <handa@m17n.org>
Tue, 13 Jan 2004 01:34:56 +0000 (01:34 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 13 Jan 2004 01:34:56 +0000 (01:34 +0000)
src/dispextern.h

index 7e917908e194389d396e113d6e27ef83ff355f88..03eda50d714ca1c621af3a0f474f4c886bcd055b 100644 (file)
@@ -1540,15 +1540,15 @@ struct face_cache
    with id ID but is suitable for displaying character CHAR.
    This macro is only meaningful for multibyte character CHAR.  */
 
-#define FACE_FOR_CHAR(F, FACE, CHAR)   \
-  (ASCII_CHAR_P (CHAR)                 \
-   ? (FACE)->ascii_face->id            \
-   : face_for_char ((F), (FACE), (CHAR)))
+#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT)      \
+  (ASCII_CHAR_P (CHAR)                                 \
+   ? (FACE)->ascii_face->id                            \
+   : face_for_char ((F), (FACE), (CHAR), (POS), (OBJECT)))
 
 #else /* not HAVE_WINDOW_SYSTEM */
 
 #define FACE_SUITABLE_FOR_CHAR_P(FACE, CHAR) 1
-#define FACE_FOR_CHAR(F, FACE, CHAR) ((FACE)->id)
+#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) ((FACE)->id)
 
 #endif /* not HAVE_WINDOW_SYSTEM */