diff options
-rw-r--r-- | src/csscolorparser/csscolorparser.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csscolorparser/csscolorparser.hpp b/src/csscolorparser/csscolorparser.hpp index 0d5feeb8ce..0e16ec4996 100644 --- a/src/csscolorparser/csscolorparser.hpp +++ b/src/csscolorparser/csscolorparser.hpp @@ -45,7 +45,7 @@ struct Color { }; inline bool operator==(const Color& lhs, const Color& rhs) { - return lhs.r == rhs.r && lhs.g == rhs.g && lhs.b == rhs.b && ::fabs(lhs.a - lhs.b) < 0.0001f; + return lhs.r == rhs.r && lhs.g == rhs.g && lhs.b == rhs.b && ::fabs(lhs.a - rhs.a) < 0.0001f; } inline bool operator!=(const Color& lhs, const Color& rhs) { |