summaryrefslogtreecommitdiff
path: root/plugingui/colour.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/colour.cc')
-rw-r--r--plugingui/colour.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/colour.cc b/plugingui/colour.cc
index 70aa562..02d03c6 100644
--- a/plugingui/colour.cc
+++ b/plugingui/colour.cc
@@ -62,7 +62,9 @@ Colour& Colour::operator=(const Colour& other)
bool Colour::operator==(const Colour& other) const
{
- return data == other.data;
+ return data[0] == other.data[0] &&
+ data[1] == other.data[1] &&
+ data[2] == other.data[2];
}
bool Colour::operator!=(const Colour& other) const