mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix spectacular typo
- Using rgba for comparison is still faster, but it does help correctness when you compare two different instances
This commit is contained in:
parent
3ae31fadc3
commit
544e90c975
|
@ -301,7 +301,7 @@ bool color::operator==(const xlnt::color &other) const
|
|||
case color_type::theme:
|
||||
return theme_.index() == other.theme_.index();
|
||||
case color_type::rgb:
|
||||
return rgb_.rgba() == rgb_.rgba();
|
||||
return rgb_.rgba() == other.rgb_.rgba();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user