]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and
authorKenichi Handa <handa@m17n.org>
Thu, 15 Jan 2004 06:58:07 +0000 (06:58 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 15 Jan 2004 06:58:07 +0000 (06:58 +0000)
OBJECT args.

src/macterm.c

index d00c1d690ac305f008c3599ec336e68a09c35537..ea4d5b98a8e069fa3a7960152a8c5d946ebb863d 100644 (file)
@@ -1649,9 +1649,9 @@ x_set_mouse_face_gc (s)
     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);