diff options
Diffstat (limited to 'src/core/stdauth/src/auth.cpp')
-rw-r--r-- | src/core/stdauth/src/auth.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/stdauth/src/auth.cpp b/src/core/stdauth/src/auth.cpp index 6f2bb36fee..1358e7858c 100644 --- a/src/core/stdauth/src/auth.cpp +++ b/src/core/stdauth/src/auth.cpp @@ -59,15 +59,14 @@ static int AuthEventAdded(WPARAM, LPARAM lParam) MCONTACT hContact = DbGetAuthEventContact(&dbei);
- CLISTEVENT cli = { 0 };
- cli.cbSize = sizeof(cli);
+ CLISTEVENT cli = {};
cli.hContact = hContact;
cli.ptszTooltip = szTooltip;
cli.flags = CLEF_TCHAR;
cli.lParam = lParam;
cli.hDbEvent = hDbEvent;
- CONTACTINFO ci = { 0 };
+ CONTACTINFO ci = {};
ci.cbSize = sizeof(ci);
ci.hContact = hContact;
ci.szProto = GetContactProto(hContact);
|