]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args.
authorKenichi Handa <handa@m17n.org>
Tue, 13 Jan 2004 01:43:38 +0000 (01:43 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 13 Jan 2004 01:43:38 +0000 (01:43 +0000)
src/xterm.c

index 0457be6d73bf62ee5268c1602c4e524469dee54b..7d3ef24de155f0718fc8ba635db9ecdecfc4e65a 100644 (file)
@@ -1016,9 +1016,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);