[gimp] app: remove bogus (but harmless) assignment from GimpOperationColorize
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove bogus (but harmless) assignment from GimpOperationColorize
- Date: Mon, 30 Jun 2014 15:41:20 +0000 (UTC)
commit 784e74e1d82b1ee776b6565a34a572e34b70096a
Author: Michael Natterer <mitch gimp org>
Date: Mon Jun 30 17:28:04 2014 +0200
app: remove bogus (but harmless) assignment from GimpOperationColorize
app/operations/gimpoperationcolorize.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/app/operations/gimpoperationcolorize.c b/app/operations/gimpoperationcolorize.c
index b74d747..8640d53 100644
--- a/app/operations/gimpoperationcolorize.c
+++ b/app/operations/gimpoperationcolorize.c
@@ -98,7 +98,6 @@ gimp_operation_colorize_process (GeglOperation *operation,
hsl.h = config->hue;
hsl.s = config->saturation;
- hsl.a = src[ALPHA];
while (samples--)
{
@@ -127,9 +126,9 @@ gimp_operation_colorize_process (GeglOperation *operation,
* don't repeat this bug here (this is the reason why the gegl
* colorize is brighter than the legacy one).
*/
- dest[RED] = rgb.r; /* * lum; */
- dest[GREEN] = rgb.g; /* * lum; */
- dest[BLUE] = rgb.b; /* * lum */;
+ dest[RED] = rgb.r; /* * lum */
+ dest[GREEN] = rgb.g; /* * lum */
+ dest[BLUE] = rgb.b; /* * lum */
dest[ALPHA] = src[ALPHA];
src += 4;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]