diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 21:04:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 21:04:18 +0000 |
commit | ec36adde2c033cdf5129c9686ed89069c38896aa (patch) | |
tree | 5454df2b692bc0e1db96a13259fd8e76667c4e42 /plugins/RecentContacts/options.cpp | |
parent | 66a8f7144e3b7fd0a42f197b0d20c2bd6f86c74b (diff) |
another portion of fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts/options.cpp')
-rw-r--r-- | plugins/RecentContacts/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/RecentContacts/options.cpp b/plugins/RecentContacts/options.cpp index ad2b6e5359..16ce3320e5 100644 --- a/plugins/RecentContacts/options.cpp +++ b/plugins/RecentContacts/options.cpp @@ -4,7 +4,7 @@ extern HINSTANCE hInst;
void LoadDBSettings();
-BOOL CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+LRESULT CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
char str[32];
@@ -19,7 +19,7 @@ BOOL CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara mir_snprintf(str, SIZEOF(str), "%s", LastUCOpt.DateTimeFormat.c_str());
SetDlgItemTextA(hwndDlg, IDC_DATETIME, str);
- SetWindowLong(hwndDlg,GWL_USERDATA,lParam);
+ SetWindowLong(hwndDlg,GWLP_USERDATA,lParam);
return TRUE;
case WM_COMMAND:
|