Commit 675a9c39 authored by Mukund Sivaraman's avatar Mukund Sivaraman

Decrement sample size just like in the gradients_sample_uniform case

parent bec9e4b4
......@@ -254,7 +254,7 @@ gradients_get_gradient_data_invoker (GimpProcedure *procedure,
pv = grad_data;
while (sample_size)
while (sample_size--)
{
seg = gimp_gradient_get_color_at (gradient, context, seg,
pos, reverse, &color);
......
......@@ -224,7 +224,7 @@ sub gradients_get_gradient_data {
pv = grad_data;
while (sample_size)
while (sample_size--)
{
seg = gimp_gradient_get_color_at (gradient, context, seg,
pos, reverse, &color);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment