From d31a884ee112839f07b1609c05331c93976dc3e3 Mon Sep 17 00:00:00 2001 From: "wishmaster51@gmail.com" Date: Mon, 20 Aug 2012 09:58:38 +0000 Subject: patch by Denis Kurochkin: - fixed Unicode x32 build - fixed autofiltering while typing text for x64 git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@258 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Plugins/quickcontacts/quickcontacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Plugins/quickcontacts') diff --git a/Plugins/quickcontacts/quickcontacts.cpp b/Plugins/quickcontacts/quickcontacts.cpp index 6f4f853..1288251 100644 --- a/Plugins/quickcontacts/quickcontacts.cpp +++ b/Plugins/quickcontacts/quickcontacts.cpp @@ -165,7 +165,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) upd.cpbBetaVersionPrefix = strlen((char *)upd.pbBetaVersionPrefix); #ifdef WIN64 upd.szBetaUpdateURL = "http://pescuma.org/miranda/quickcontacts64.zip"; -#elif +#elif UNICODE upd.szBetaUpdateURL = "http://pescuma.org/miranda/quickcontactsW.zip"; #else upd.szBetaUpdateURL = "http://pescuma.org/miranda/quickcontacts.zip"; @@ -449,7 +449,7 @@ void LoadContacts(HWND hwndDlg, BOOL show_all) // Read last-sent-to contact from db and set handle as window-userdata HANDLE hlastsent = (HANDLE)DBGetContactSettingDword(NULL, MODULE_NAME, "LastSentTo", -1); - SetWindowLong(hwndMain, GWLP_USERDATA, (LONG)hlastsent); + SetWindowLongPtr(hwndMain, GWLP_USERDATA, (LONG)hlastsent); // enumerate all contacts and write them to the array // item data of listbox-strings is the array position @@ -914,7 +914,7 @@ static INT_PTR CALLBACK MainDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA // Combo SendMessage(GetDlgItem(hwndDlg, IDC_USERNAME), EM_LIMITTEXT, (WPARAM)119,0); - wpEditMainProc = (WNDPROC) SetWindowLong(GetWindow(GetDlgItem(hwndDlg, IDC_USERNAME),GW_CHILD), GWLP_WNDPROC, (LONG)EditProc); + wpEditMainProc = (WNDPROC) SetWindowLongPtr(GetWindow(GetDlgItem(hwndDlg, IDC_USERNAME),GW_CHILD), GWLP_WNDPROC, (LONG)EditProc); // Buttons FillCheckbox(hwndDlg, IDC_SHOW_ALL_CONTACTS, "Show all contacts", hasNewHotkeyModule ? NULL : "Ctrl+A"); -- cgit v1.2.3