Correct an error cppcheck in color.h - thanks to Ingo

This commit is contained in:
Desmis
2017-05-03 18:18:52 +02:00
parent aa591fc7b1
commit c2cd6f596b

View File

@@ -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;