diff options
author | George Hazan <george.hazan@gmail.com> | 2014-09-29 13:01:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-09-29 13:01:32 +0000 |
commit | eb4cd74284c52a9da97119aea2abc66c4c0c363d (patch) | |
tree | 503477c49cf685b527e0d0a2915486516b27f40a /src/core/stdauth/auth.cpp | |
parent | 6f20d680f5f175ca2b4669ea7fc27fa34ca7dfd3 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@10626 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdauth/auth.cpp')
-rw-r--r-- | src/core/stdauth/auth.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/stdauth/auth.cpp b/src/core/stdauth/auth.cpp index d55a16898d..f2cfaa041b 100644 --- a/src/core/stdauth/auth.cpp +++ b/src/core/stdauth/auth.cpp @@ -59,7 +59,7 @@ static int AuthEventAdded(WPARAM, LPARAM lParam) MCONTACT hContact = DbGetAuthEventContact(&dbei);
- CLISTEVENT cli = {0};
+ CLISTEVENT cli = { 0 };
cli.cbSize = sizeof(cli);
cli.hContact = hContact;
cli.ptszTooltip = szTooltip;
@@ -67,12 +67,12 @@ static int AuthEventAdded(WPARAM, LPARAM lParam) cli.lParam = lParam;
cli.hDbEvent = hDbEvent;
- CONTACTINFO ci = {0};
+ CONTACTINFO ci = { 0 };
ci.cbSize = sizeof(ci);
ci.hContact = hContact;
ci.szProto = GetContactProto(hContact);
ci.dwFlag = CNF_UNIQUEID | CNF_TCHAR;
- if ( !CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci)) {
+ if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci)) {
switch (ci.type) {
case CNFT_ASCIIZ:
mir_sntprintf(szUid, SIZEOF(szUid), _T("%s"), ci.pszVal);
@@ -117,7 +117,6 @@ int LoadSendRecvAuthModule(void) HookEvent(ME_DB_EVENT_ADDED, AuthEventAdded);
SkinAddNewSoundEx("AuthRequest", LPGEN("Alerts"), LPGEN("Authorization request"));
- SkinAddNewSoundEx("AddedEvent", LPGEN("Alerts"), LPGEN("Added event"));
-
+ SkinAddNewSoundEx("AddedEvent", LPGEN("Alerts"), LPGEN("Added event"));
return 0;
}
|