[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gimp-developer
Subject:    Re: [Gimp-developer] [muks@mukund.org: Re: Gimp Plugin semi-flatten
From:       Kevin Cozens <kevin () ve3syb ! ca>
Date:       2011-04-07 18:26:40
Message-ID: 4D9E01E0.10105 () ve3syb ! ca
[Download RAW message or body]

On Thu, Apr 07, 2011 at 04:42:02PM +0530, shivani maheshwari wrote:
> +      out_pixel[3] = (in_pixel[3] == 0) ? 0 : inpixel[3];

There is a typo in the variable name at the end of the line. It should read:
	out_pixel[3] = (in_pixel[3] == 0) ? 0 : in_pixel[3];


Now that I'm looking at this, it looks as if it can be simplified to:
	out_pixel[3] = in_pixel[3];
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic