comparison src/w32term.c @ 89708:b66b529d5f33

(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:57:45 +0000
parents 804abd486fd1
children 68c22ea6027c
comparison
equal deleted inserted replaced
89707:63ecd4967d24 89708:b66b529d5f33
1386 face = FACE_FROM_ID (s->f, face_id); 1386 face = FACE_FROM_ID (s->f, face_id);
1387 if (face == NULL) 1387 if (face == NULL)
1388 face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); 1388 face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
1389 1389
1390 if (s->first_glyph->type == CHAR_GLYPH) 1390 if (s->first_glyph->type == CHAR_GLYPH)
1391 face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch); 1391 face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil);
1392 else 1392 else
1393 face_id = FACE_FOR_CHAR (s->f, face, 0); 1393 face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil);
1394 s->face = FACE_FROM_ID (s->f, face_id); 1394 s->face = FACE_FROM_ID (s->f, face_id);
1395 PREPARE_FACE_FOR_DISPLAY (s->f, s->face); 1395 PREPARE_FACE_FOR_DISPLAY (s->f, s->face);
1396 1396
1397 /* If font in this face is same as S->font, use it. */ 1397 /* If font in this face is same as S->font, use it. */
1398 if (s->font == s->face->font) 1398 if (s->font == s->face->font)