From: Kenichi Handa Date: Thu, 15 Jan 2004 06:57:45 +0000 (+0000) Subject: (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1640 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14ee5d4c21a3285c493825ff446799d2899e17e6;p=emacs.git (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args. --- diff --git a/src/w32term.c b/src/w32term.c index f21f42bfb9c..7dad401a13a 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -1388,9 +1388,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);