emacs-devel
[Top][All Lists]
Advanced

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

Re: NS port cleanups


From: Po Lu
Subject: Re: NS port cleanups
Date: Sat, 23 Oct 2021 19:20:28 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:

> 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);
>          }

Thanks, applied.

I'll split the patch up and let you know.


reply via email to

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