[gimp] libgimpwidgets: Fix typo in array index



commit 27db4d9fc07f4d9329a502cf38265dc63da01a72
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Apr 25 19:32:08 2011 +0530

    libgimpwidgets: Fix typo in array index

 libgimpwidgets/gimpcolorscale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorscale.c b/libgimpwidgets/gimpcolorscale.c
index 1999af9..9f5bff2 100644
--- a/libgimpwidgets/gimpcolorscale.c
+++ b/libgimpwidgets/gimpcolorscale.c
@@ -810,7 +810,7 @@ gimp_color_scale_render_alpha (GimpColorScale *scale)
                     l[0] = light[0];
                     l[1] = light[1];
                     l[2] = light[2];
-                    l[2] = light[3];
+                    l[3] = light[3];
                   }
                 else
                   {



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