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 /protocols/JabberG/src | |
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 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_iq_handlers.cpp | 3 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_notes.cpp | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp index 5d4cc14e9d..53c9ef9f72 100644 --- a/protocols/JabberG/src/jabber_iq_handlers.cpp +++ b/protocols/JabberG/src/jabber_iq_handlers.cpp @@ -451,8 +451,7 @@ BOOL CJabberProto::AddClistHttpAuthEvent(CJabberHttpAuthParams *pParams) char szService[256];
mir_snprintf(szService, "%s%s", m_szModuleName, JS_HTTP_AUTH);
- CLISTEVENT cle = { 0 };
- cle.cbSize = sizeof(CLISTEVENT);
+ CLISTEVENT cle = {};
cle.hIcon = (HICON)LoadIconEx("openid");
cle.flags = CLEF_PROTOCOLGLOBAL | CLEF_TCHAR;
cle.hDbEvent = -99;
diff --git a/protocols/JabberG/src/jabber_notes.cpp b/protocols/JabberG/src/jabber_notes.cpp index 3322b50b4a..dffac55378 100644 --- a/protocols/JabberG/src/jabber_notes.cpp +++ b/protocols/JabberG/src/jabber_notes.cpp @@ -776,10 +776,10 @@ bool CJabberProto::OnIncomingNote(const TCHAR *szFrom, HXML hXml) return false;
}
- CLISTEVENT cle = { 0 };
char szService[256];
mir_snprintf(szService, "%s%s", m_szModuleName, JS_INCOMING_NOTE_EVENT);
- cle.cbSize = sizeof(CLISTEVENT);
+
+ CLISTEVENT cle = {};
cle.hIcon = (HICON)LoadIconEx("notes");
cle.flags = CLEF_PROTOCOLGLOBAL | CLEF_TCHAR;
cle.hDbEvent = -99;
|