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
8274153348
commit
f843e590fd
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue