[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d7f52c6: ; * src/macfont.m: fix typing errors
From: |
Mattias Engdegård |
Subject: |
master d7f52c6: ; * src/macfont.m: fix typing errors |
Date: |
Thu, 18 Nov 2021 04:06:43 -0500 (EST) |
branch: master
commit d7f52c64666cbd0b91ece1231c235b5c74acd0a5
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * 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 1426cae..ce7a5ec 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);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d7f52c6: ; * src/macfont.m: fix typing errors,
Mattias Engdegård <=