summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/src/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FileAsMessage/src/dialog.cpp')
-rw-r--r--plugins/FileAsMessage/src/dialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/FileAsMessage/src/dialog.cpp b/plugins/FileAsMessage/src/dialog.cpp
index 8864263545..6a62142159 100644
--- a/plugins/FileAsMessage/src/dialog.cpp
+++ b/plugins/FileAsMessage/src/dialog.cpp
@@ -463,9 +463,7 @@ void FILEECHO::incomeRequest(char *param)
// else
if (!IsWindowVisible(hDlg) && !AutoMin)
{
- CLISTEVENT cle;
- memset(&cle, 0, sizeof(cle));
- cle.cbSize = sizeof(cle);
+ CLISTEVENT cle = {};
cle.hContact = hContact;
cle.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_SMALLICON));
cle.flags = CLEF_URGENT;