diff options
author | George Hazan <george.hazan@gmail.com> | 2016-01-28 15:17:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-01-28 15:17:43 +0000 |
commit | 1042a84dd1f01c249a946ec708d3dae2881ecfab (patch) | |
tree | 57abc3b99b9bf4a6f4b55500be7aa738eb81cf3a /src/core/stdauth | |
parent | 6c38539e9b3d5a72280950310253759085e96f01 (diff) |
atavism removed: CLISTEVENT::cbSize
git-svn-id: http://svn.miranda-ng.org/main/trunk@16180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdauth')
-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);
|