summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-09 16:49:51 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-09 16:49:51 +0300
commitee563022d5e1a2e19f40bb0ea705d6483aa48403 (patch)
tree2e82b19b280123fd42aac437d00b9d8ad1638b13 /plugins/NewStory/src/history_array.h
parent2372899bd100889437edf20d10ca91cfb97db7e3 (diff)
fixes #4338 (NewStory: реплаи используют формат даты из операционной системы)
Diffstat (limited to 'plugins/NewStory/src/history_array.h')
-rw-r--r--plugins/NewStory/src/history_array.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_array.h b/plugins/NewStory/src/history_array.h
index 2fa212c0d6..c671d76f53 100644
--- a/plugins/NewStory/src/history_array.h
+++ b/plugins/NewStory/src/history_array.h
@@ -19,7 +19,7 @@ struct ItemData
bool m_bOfflineFile;
uint8_t m_grouping, m_bOfflineDownloaded;
- int savedTop, savedHeight, leftOffset;
+ int savedTop, savedHeight = -1, leftOffset;
DB::EventInfo dbe;
wchar_t *wtext, *qtext;
@@ -28,7 +28,8 @@ struct ItemData
litehtml::document::ptr m_doc;
- ItemData();
+ explicit ItemData();
+ explicit ItemData(MEVENT);
~ItemData();
ItemData* checkNext(ItemData *pPrev);