mirror of https://github.com/GNOME/gimp.git
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:
parent
669011b07d
commit
c837f25b40
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue