gnustep-dev
[Top][All Lists]
Advanced

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

Re: Opal patch


From: Philippe Roussel
Subject: Re: Opal patch
Date: Fri, 27 Sep 2013 18:59:50 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Ivan,

You seem to be working on opal, could you take a look at the following ?

Philippe

On Thu, Sep 19, 2013 at 07:21:40AM +0200, Philippe Roussel wrote:
> Hi,
> 
> Scanning opal build warnings I found at least 2 that look like real
> bugs, see the following patch.
> 
> Philippe
> 
> Index: Source/OpalGraphics/CGImage.m
> ===================================================================
> --- Source/OpalGraphics/CGImage.m     (révision 37110)
> +++ Source/OpalGraphics/CGImage.m     (copie de travail)
> @@ -158,7 +158,7 @@
>    self->surf = NULL;
>    self->bitmapInfo = aBitmapInfo;
>    self->cspace = CGColorSpaceRetain(aColorspace);
> -  self->intent = intent;
> +  self->intent = anIntent;
>  
>    return self;
>  }
> Index: Source/OpalText/CTLine.m
> ===================================================================
> --- Source/OpalText/CTLine.m  (révision 37110)
> +++ Source/OpalText/CTLine.m  (copie de travail)
> @@ -30,7 +30,7 @@
>  
>  - (id)initWithRuns: (NSArray*)runs
>  {
> -  if ((self == [super init]))
> +  if ((self = [super init]))
>    {
>      _runs = [runs retain];
>    }
> 
> -- 
> Letting the Internet be rewired by bureaucrats would be like handing a 
> Stradivarius to a gorilla. L. Gordon Crovitz



reply via email to

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