From aa1b4e8c2bede5772afee0eb99bc7b0ce103db1d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Jan 2014 18:02:20 +0000 Subject: fixes #524 (AddContact+: contacts added to the wrong group) git-svn-id: http://svn.miranda-ng.org/main/trunk@7839 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AddContactPlus/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AddContactPlus/src/main.cpp') diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp index 352950417a..2458b59076 100644 --- a/plugins/AddContactPlus/src/main.cpp +++ b/plugins/AddContactPlus/src/main.cpp @@ -62,7 +62,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) static INT_PTR AddContactPlusDialog(WPARAM, LPARAM) { - if(hAddDlg) { + if (hAddDlg) { SetForegroundWindow(hAddDlg); SetFocus(hAddDlg); } @@ -78,7 +78,7 @@ static int OnAccListChanged(WPARAM, LPARAM) ProtoEnumAccounts(&iRealAccCount, &pAccounts); for (int i = 0; i < iRealAccCount; i++) { - if ( !IsAccountEnabled(pAccounts[i])) + if (!IsAccountEnabled(pAccounts[i])) continue; DWORD dwCaps = (DWORD)CallProtoService(pAccounts[i]->szModuleName, PS_GETCAPS, PFLAGNUM_1, 0); -- cgit v1.2.3