Fix bad Color::operator== causing GIF frames to be merged incorrectly.

This commit is contained in:
Glenn Maynard 2019-02-26 18:03:11 -06:00
parent af82a1e423
commit 5556d4fd65

View File

@ -26,7 +26,7 @@ namespace SMXGif
} }
bool operator==(const Color &rhs) const bool operator==(const Color &rhs) const
{ {
return !memcmp(color, rhs.color, sizeof(*color)); return !memcmp(color, rhs.color, sizeof(color));
} }
}; };