summaryrefslogtreecommitdiff
path: root/plugins/AddContactPlus/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-23 18:02:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-23 18:02:20 +0000
commitaa1b4e8c2bede5772afee0eb99bc7b0ce103db1d (patch)
tree414f876542b8b113274b025a25571186ef3e415d /plugins/AddContactPlus/src/main.cpp
parent88326f429868e48de63fd64de598080325bb018c (diff)
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
Diffstat (limited to 'plugins/AddContactPlus/src/main.cpp')
-rw-r--r--plugins/AddContactPlus/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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);