From 75f42aee7e98bc592137dd833647ade3d7053949 Mon Sep 17 00:00:00 2001 From: JonDeen Date: Fri, 12 Jun 2015 01:43:16 +0200 Subject: [PATCH] second go --- libvips/colour/HSV2sRGB.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/colour/HSV2sRGB.c b/libvips/colour/HSV2sRGB.c index 14c006f5..cce462f3 100644 --- a/libvips/colour/HSV2sRGB.c +++ b/libvips/colour/HSV2sRGB.c @@ -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) {