summaryrefslogtreecommitdiffstats
path: root/src/color.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-19 01:21:00 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-19 01:21:00 +0000
commit255dd5fcfd51a58d04aff8e119a2fa08cf5f71cb (patch)
tree1f8c63d7d2bf86c01f2372b47c7afb5e6dc24339 /src/color.cpp
parentAdded in new toy effect "Taper Strokes," readded a missing header file, bugfixes (diff)
parentFix for Bug #1291546 (Linking color profile from Document properties dialog c... (diff)
downloadinkscape-255dd5fcfd51a58d04aff8e119a2fa08cf5f71cb.tar.gz
inkscape-255dd5fcfd51a58d04aff8e119a2fa08cf5f71cb.zip
Update to trunk/Fix GTK3 build errors
(bzr r13090.1.26)
Diffstat (limited to 'src/color.cpp')
-rw-r--r--src/color.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/color.cpp b/src/color.cpp
index 5eb0d91ef..dccd603b0 100644
--- a/src/color.cpp
+++ b/src/color.cpp
@@ -84,9 +84,10 @@ SPColor& SPColor::operator= (SPColor const& other)
*/
bool SPColor::operator == (SPColor const& other) const
{
- bool match = (v.c[0] != other.v.c[0])
- && (v.c[1] != other.v.c[1])
- && (v.c[2] != other.v.c[2]);
+ bool match =
+ (v.c[0] == other.v.c[0]) &&
+ (v.c[1] == other.v.c[1]) &&
+ (v.c[2] == other.v.c[2]);
match &= profileMatches( icc, other.icc );