[gimp] app: fix mapping for CURVE_BLUE (use the blue, not the green curve)



commit 105b7c5afaa851461276d3c92c6fe50fffc17515
Author: Michael Natterer <mitch gimp org>
Date:   Sat Dec 26 14:10:31 2009 +0100

    app: fix mapping for CURVE_BLUE (use the blue, not the green curve)

 app/core/gimpcurve-map.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpcurve-map.c b/app/core/gimpcurve-map.c
index 740fc8b..aaea7ae 100644
--- a/app/core/gimpcurve-map.c
+++ b/app/core/gimpcurve-map.c
@@ -154,7 +154,7 @@ gimp_curve_map_pixels (GimpCurve *curve_colors,
         {
           dest[0] = src[0];
           dest[1] = src[1];
-          dest[2] = gimp_curve_map_value (curve_green, src[2]);
+          dest[2] = gimp_curve_map_value (curve_blue, src[2]);
           dest[3] = src[3];
 
           src  += 4;



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