From: Mattias EngdegÄrd Date: Thu, 18 Nov 2021 09:01:17 +0000 (+0100) Subject: ; * src/macfont.m: fix typing errors X-Git-Tag: emacs-29.0.90~2852^2~221 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7f52c64666cbd0b91ece1231c235b5c74acd0a5;p=emacs.git ; * src/macfont.m: fix typing errors --- diff --git a/src/macfont.m b/src/macfont.m index 1426cae6dc4..ce7a5ec8cda 100644 --- a/src/macfont.m +++ b/src/macfont.m @@ -2928,7 +2928,7 @@ macfont_draw (struct glyph_string *s, int from, int to, int x, int y, { if (s->hl == DRAW_CURSOR) { - CGColorRef *colorref = get_cgcolor_from_nscolor (FRAME_CURSOR_COLOR (f), f); + CGColorRef colorref = get_cgcolor_from_nscolor (FRAME_CURSOR_COLOR (f), f); CGContextSetFillColorWithColor (context, colorref); CGColorRelease (colorref); } @@ -2944,7 +2944,7 @@ macfont_draw (struct glyph_string *s, int from, int to, int x, int y, CGContextScaleCTM (context, 1, -1); if (s->hl == DRAW_CURSOR) { - CGColorRef *colorref = get_cgcolor_from_nscolor (FRAME_BACKGROUND_COLOR (f), f); + CGColorRef colorref = get_cgcolor_from_nscolor (FRAME_BACKGROUND_COLOR (f), f); CGContextSetFillColorWithColor (context, colorref); CGColorRelease (colorref); }