summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-08-02 16:59:18 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-08-02 16:59:18 +0300
commitaeee3fb8e0a9ab77492a7972964c322b3ce8cdae (patch)
treed0a165d586604f3110e0e2641b1bb788f48a4df7 /plugins/NewStory/src/history_array.cpp
parent16dae6bd7df08d11cf9175239fb9b27f88c6f12c (diff)
fixes #2392 (NewStory: безумный скроллбар)
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r--plugins/NewStory/src/history_array.cpp6
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);