From c2cd6f596ba655325fa7709fb0d5129df35009e3 Mon Sep 17 00:00:00 2001 From: Desmis Date: Wed, 3 May 2017 18:18:52 +0200 Subject: [PATCH] Correct an error cppcheck in color.h - thanks to Ingo --- rtengine/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/color.h b/rtengine/color.h index df2b933f1..cf44c5fe1 100644 --- a/rtengine/color.h +++ b/rtengine/color.h @@ -1367,7 +1367,7 @@ public: chr = 130.f; } else if (hue > -0.4f && hue <= 1.f) { chr = 80.f; - } else if (hue > -3.15f && hue > -2.f) { + } else if (hue > -3.15f && hue < -2.f) { chr = 80.f; } else { chr = 60.f;