second go

This commit is contained in:
JonDeen 2015-06-12 01:43:16 +02:00
parent b24c7ee546
commit 75f42aee7e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ static void vips_HSV2sRGB_line(VipsColour *colour, VipsPel *out, VipsPel **in,
for (i = 0; i < width; i++) {
c = V* S / 255.0f;
x = C * (1 - abs(fmod(H / sixth_of_char, 2) - 1));
x = c * (1 - abs(fmod(H / sixth_of_char, 2) - 1));
m = V - c;
if (H < sixth_of_char) {