[gimp/gimp-2-6] app: fix mapping for CURVE_BLUE (use the blue, not the green curve) (cherry picked from commit 105b7



commit c76fd3d443fb69b771781cfff05e590f64fda81f
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)
    (cherry picked from commit 105b7c5afaa851461276d3c92c6fe50fffc17515)

 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 df7c4e9..6871983 100644
--- a/app/core/gimpcurve-map.c
+++ b/app/core/gimpcurve-map.c
@@ -155,7 +155,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]