[gimp/gimp-2-6] Bug 167604 – gimp_gradient_get_color_at() may return out-of-bounds values
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp/gimp-2-6] Bug 167604 – gimp_gradient_get_color_at() may return out-of-bounds values
- Date: Wed, 8 Jul 2009 19:33:33 +0000 (UTC)
commit 9ed0b1eecacd249b9a8f5b0e29e757e33e4cee89
Author: Massimo Valentini <sixtysix inwind it>
Date: Tue Jul 7 17:02:32 2009 +0200
Bug 167604 â?? gimp_gradient_get_color_at() may return out-of-bounds values
This is not a problem of gimp_gradient_get_color_at(), but a typo
in gradient_editor_right_color_update().
(cherry picked from commit c837f25b40b97bba09845336ea0a997149aa3c5e)
app/actions/gradient-editor-commands.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/gradient-editor-commands.c b/app/actions/gradient-editor-commands.c
index a87eadf..ec7161b 100644
--- a/app/actions/gradient-editor-commands.c
+++ b/app/actions/gradient-editor-commands.c
@@ -773,7 +773,7 @@ gradient_editor_right_color_update (GimpColorDialog *dialog,
gimp_gradient_segment_range_blend (gradient,
editor->control_sel_l,
editor->control_sel_r,
- &editor->control_sel_r->left_color,
+ &editor->control_sel_l->left_color,
color,
TRUE, TRUE);
break;
@@ -782,7 +782,7 @@ gradient_editor_right_color_update (GimpColorDialog *dialog,
gimp_gradient_segment_range_blend (gradient,
editor->control_sel_l,
editor->control_sel_r,
- &editor->control_sel_r->left_color,
+ &editor->control_sel_l->left_color,
color,
TRUE, TRUE);
gimp_gradient_segments_free (editor->right_saved_segments);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]