summaryrefslogtreecommitdiff
path: root/plugins/QuickContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickContacts/src')
-rw-r--r--plugins/QuickContacts/src/quickcontacts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp
index f06157b8e5..2ae6d2011b 100644
--- a/plugins/QuickContacts/src/quickcontacts.cpp
+++ b/plugins/QuickContacts/src/quickcontacts.cpp
@@ -499,8 +499,8 @@ int CheckText(HWND hdlg, TCHAR *sztext, BOOL only_enable = FALSE)
{
if (lstreq(sztext, GetListName(contacts[loop]), len) == 0)
{
- SendMessage(hdlg, WM_SETTEXT, 0, (LPARAM) GetListName(contacts[loop]));
- SendMessage(hdlg, EM_SETSEL, (WPARAM) len, (LPARAM) -1);
+ SetWindowText(hdlg, GetListName(contacts[loop]));
+ SendMessage(hdlg, EM_SETSEL, (WPARAM) len, (LPARAM)-1);
EnableButtons(hwndMain, contacts[loop]->hcontact);
return 0;
}