Skip to content
Snippets Groups Projects
Commit dc8a5209 authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

the 3rd fix to [hsl]/[vsl] that was supposed to be in last commit

parent cda4ebe8
No related branches found
No related tags found
No related merge requests found
......@@ -393,9 +393,9 @@ static void slider_set(t_slider *x, t_floatarg f)
double g;
t_floatarg of=f;
if(x->x_gui.x_reverse)
f = maxi(mini(f,x->x_min),x->x_max);
f = maxf(minf(f,x->x_min),x->x_max);
else
f = maxi(mini(f,x->x_max),x->x_min);
f = maxf(minf(f,x->x_max),x->x_min);
if(x->x_lin0_log1)
g = log(f/x->x_min)/x->x_k;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment