diff options
Diffstat (limited to 'engines/saga/font.h')
-rw-r--r-- | engines/saga/font.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/saga/font.h b/engines/saga/font.h index 84a1ec70ba..248cee6d4f 100644 --- a/engines/saga/font.h +++ b/engines/saga/font.h @@ -88,6 +88,10 @@ struct TextListEntry { TextListEntry() { memset(this, 0, sizeof(*this)); } + + bool operator==(const TextListEntry &e) const { + return 0 == memcmp(this, &e, sizeof(*this)); + } }; class TextList: public SortedList<TextListEntry> { |