summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ContactsPlus/src/utils.cpp')
-rw-r--r--plugins/ContactsPlus/src/utils.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/ContactsPlus/src/utils.cpp b/plugins/ContactsPlus/src/utils.cpp
index 9b64ae65d5..523c6ad055 100644
--- a/plugins/ContactsPlus/src/utils.cpp
+++ b/plugins/ContactsPlus/src/utils.cpp
@@ -87,13 +87,11 @@ TCHAR* GetContactUID(HCONTACT hContact)
return NULL;
}
-void DialogAddContactExecute(HWND hwndDlg, HANDLE hNewContact)
+void DialogAddContactExecute(HWND hwndDlg, HCONTACT hNewContact)
{
ADDCONTACTSTRUCT acs = { 0 };
-
- acs.handle = hNewContact;
+ acs.hContact = hNewContact;
acs.handleType = HANDLE_CONTACT;
-
CallService(MS_ADDCONTACT_SHOW, (WPARAM)hwndDlg, (LPARAM)&acs);
}