diff options
Diffstat (limited to 'plugins/HistoryStats/src/main.cpp')
-rw-r--r-- | plugins/HistoryStats/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index 5da8460d05..c6c63d6287 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -255,7 +255,7 @@ static INT_PTR MenuHistoryPaste(WPARAM wParam, LPARAM lParam) int blobBuffer = 4096;
HANDLE hEvent = mu::db_event::findFirst(g_hHistoryCopyContact);
- ZeroMemory(&dbe, sizeof(dbe));
+ memset(&dbe, 0, sizeof(dbe));
dbe.cbSize = sizeof(dbe);
dbe.pBlob = reinterpret_cast<BYTE*>(malloc(blobBuffer));
|