From eb4cd74284c52a9da97119aea2abc66c4c0c363d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 29 Sep 2014 13:01:32 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@10626 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdauth/auth.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/core/stdauth/auth.cpp') 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; } -- cgit v1.2.3