Vignette gamma usage appears incorrect
In vignette.c:337, the value of gamma is checked as follows:
if (o->gamma > 0.9999 && o->gamma < 2.0001)
strength *= strength; /* fast path for default gamma */
else if (o->gamma != 1.0)
strength = powf(strength, o->gamma);
The first check appears to be incorrect, since all values in the range of 1-2 are handled as a value of two, and the second if clause is therefore always taken. I guess the correct value should be 1.9999
? The CL version is also affected.