summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/DatExport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/DatExport.cpp')
-rw-r--r--plugins/BasicHistory/src/DatExport.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/DatExport.cpp b/plugins/BasicHistory/src/DatExport.cpp
index 7ef7bb0f79..7c8f5af157 100644
--- a/plugins/BasicHistory/src/DatExport.cpp
+++ b/plugins/BasicHistory/src/DatExport.cpp
@@ -150,8 +150,7 @@ bool DatExport::GetEventList(std::vector<IImport::ExternalMessage>& eventList)
dataSize = header.dataSize;
DBEVENTINFO86 messageHeader;
- DBEVENTINFO info = { 0 };
- info.cbSize = sizeof(DBEVENTINFO);
+ DBEVENTINFO info = {};
info.szModule = GetContactProto(hContact);
wchar_t _str[MAXSELECTSTR + 8]; // for safety reason
std::multimap<DWORD, IImport::ExternalMessage> sortedEvents;