diff options
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 5767b91330..0a68338f2a 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -46,6 +46,12 @@ bool Filter::check(ItemData *item) ///////////////////////////////////////////////////////////////////////////////////////// // Event +ItemData::ItemData() +{ + memset(this, 0, sizeof(*this)); + savedHeight = -1; +} + ItemData::~ItemData() { mir_free(wtext); |