summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-19 21:16:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-19 21:16:14 +0000
commite71ae69a68419f5e42ceb93234f7c470a54ed804 (patch)
tree9360c5975a96d1bcb12e4ce07c800abc008b4326 /plugins/ContactsPlus/src
parent8b8a98c49ef56525d35f0482a7b43377ebb80529 (diff)
minor contacts processing improvements
git-svn-id: http://svn.miranda-ng.org/main/trunk@7291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContactsPlus/src')
-rw-r--r--plugins/ContactsPlus/src/send.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/ContactsPlus/src/send.cpp b/plugins/ContactsPlus/src/send.cpp
index d391edb177..beefc0aedf 100644
--- a/plugins/ContactsPlus/src/send.cpp
+++ b/plugins/ContactsPlus/src/send.cpp
@@ -347,12 +347,11 @@ INT_PTR CALLBACK SendDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
HWND hList = GetDlgItem(hwndDlg, IDC_LIST);
hContact = FindFirstClistContact(hList, &hItem);
- while (hContact)
- {
+ while (hContact) {
+ // build list of contacts to send
if (SendMessage(hList, CLM_GETCHECKMARK, (WPARAM)hItem, 0))
- { // build list of contacts to send
wndData->AddContact(hContact);
- }
+
hContact = FindNextClistContact(hList, hContact, &hItem);
}
/* send contacts */