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().
This commit is contained in:
Massimo Valentini 2009-07-07 17:02:32 +02:00 committed by Sven Neumann
parent 669011b07d
commit c837f25b40
1 changed files with 2 additions and 2 deletions

View File

@ -772,7 +772,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;
@ -781,7 +781,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);