emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NS port cleanups


From: Alan Third
Subject: Re: NS port cleanups
Date: Sat, 23 Oct 2021 10:09:54 +0100

I think I forgot to ask you to make these changes:

modified   src/macfont.m
@@ -2924,7 +2924,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
     {
       if (s->hl == DRAW_CURSOR)
         {
-         CGColorRef *colorref = get_cgcolor_from_nscolor (FRAME_CURSOR_COLOR 
(f));
+         CGColorRef colorref = get_cgcolor_from_nscolor (FRAME_CURSOR_COLOR 
(f), f);
          CGContextSetFillColorWithColor (context, colorref);
          CGColorRelease (colorref);
         }
@@ -2940,7 +2940,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
       CGContextScaleCTM (context, 1, -1);
       if (s->hl == DRAW_CURSOR)
         {
-         CGColorRef *colorref = get_cgcolor_from_nscolor 
(FRAME_BACKGROUND_COLOR (f));
+         CGColorRef colorref = get_cgcolor_from_nscolor 
(FRAME_BACKGROUND_COLOR (f), f);
          CGContextSetFillColorWithColor (context, colorref);
          CGColorRelease (colorref);
         }

-- 
Alan Third



reply via email to

[Prev in Thread] Current Thread [Next in Thread]