[gimp] Revert "libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized"
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert "libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized"
- Date: Mon, 25 Apr 2011 14:04:14 +0000 (UTC)
commit a31d8dab793ed594eb024ca4090878d0142e9e46
Author: Mukund Sivaraman <muks banu com>
Date: Mon Apr 25 19:29:55 2011 +0530
Revert "libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized"
This reverts commit a0ff9810412ef7e9ee9f9d0325adf93601270f75.
libgimpwidgets/gimpcolorscale.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorscale.c b/libgimpwidgets/gimpcolorscale.c
index 8808abc..1999af9 100644
--- a/libgimpwidgets/gimpcolorscale.c
+++ b/libgimpwidgets/gimpcolorscale.c
@@ -810,12 +810,14 @@ gimp_color_scale_render_alpha (GimpColorScale *scale)
l[0] = light[0];
l[1] = light[1];
l[2] = light[2];
+ l[2] = light[3];
}
else
{
l[0] = dark[0];
l[1] = dark[1];
l[2] = dark[2];
+ l[3] = dark[3];
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]