summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src
diff options
context:
space:
mode:
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 */