diff src/macterm.c @ 89709:688136a6cab5

(x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args.
author Kenichi Handa <handa@m17n.org>
date Thu, 15 Jan 2004 06:58:07 +0000
parents 375f2633d815
children 68c22ea6027c
line wrap: on
line diff
--- a/src/macterm.c	Thu Jan 15 06:57:45 2004 +0000
+++ b/src/macterm.c	Thu Jan 15 06:58:07 2004 +0000
@@ -1649,9 +1649,9 @@
     face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
 
   if (s->first_glyph->type == CHAR_GLYPH)
-    face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch);
+    face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil);
   else
-    face_id = FACE_FOR_CHAR (s->f, face, 0);
+    face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil);
   s->face = FACE_FROM_ID (s->f, face_id);
   PREPARE_FACE_FOR_DISPLAY (s->f, s->face);