From d7f52c64666cbd0b91ece1231c235b5c74acd0a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 18 Nov 2021 10:01:17 +0100 Subject: [PATCH] ; * src/macfont.m: fix typing errors --- src/macfont.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.2