X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7ed767557eb608a0ad7097dc80d84af568ab00b1..b1a64dba04146b1424eacd3bc363e5f0edeac2b2:/src/macfont.m diff --git a/src/macfont.m b/src/macfont.m index 7900134476..4e4daba070 100644 --- a/src/macfont.m +++ b/src/macfont.m @@ -2856,8 +2856,8 @@ macfont_draw (struct glyph_string *s, int from, int to, int x, int y, { if (s->hl == DRAW_MOUSE_FACE) { - face = FACE_OPT_FROM_ID (s->f, - MOUSE_HL_INFO (s->f)->mouse_face_face_id); + face = FACE_FROM_ID_OR_NULL (s->f, + MOUSE_HL_INFO (s->f)->mouse_face_face_id); if (!face) face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); }