- return (m_cocoaNSColor == colour.m_cocoaNSColor &&
- m_red == colour.m_red &&
- m_green == colour.m_green &&
- m_blue == colour.m_blue);
+ // TODO: Really compare the NSColor
+ return (m_cocoaNSColor == colour.m_cocoaNSColor
+ || (m_red == colour.m_red
+ && m_green == colour.m_green
+ && m_blue == colour.m_blue));