diff options
author | kreol13 <kreol13@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-31 06:42:05 +0000 |
---|---|---|
committer | kreol13 <kreol13@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-31 06:42:05 +0000 |
commit | ca793fe9ff364647361a22331446524853e428fa (patch) | |
tree | d93e5c8b844976c911886f7452d08bf3d528d047 /console/Console.c | |
parent | 1af5c2ed018636891a126a4999b9151dc27ac316 (diff) |
added x64 support
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@132 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'console/Console.c')
-rw-r--r-- | console/Console.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/console/Console.c b/console/Console.c index 52f892e..7a05aed 100644 --- a/console/Console.c +++ b/console/Console.c @@ -371,7 +371,7 @@ static LRESULT CALLBACK SubclassProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lPa }
break;
}
- return CallWindowProc((WNDPROC)GetWindowLong(hwnd, GWL_USERDATA),hwnd,msg,wParam,lParam);
+ return CallWindowProc((WNDPROC)GetWindowLong(hwnd, GWLP_USERDATA),hwnd,msg,wParam,lParam);
}
////////////////////////////////////////////////////////////////////////////////
@@ -379,7 +379,7 @@ static LRESULT CALLBACK SubclassProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lPa static BOOL CALLBACK LogDlgProc(HWND hwndDlg,UINT message,WPARAM wParam,LPARAM lParam)
{
- LOGWIN *dat = (LOGWIN*)GetWindowLong(hwndDlg, GWL_USERDATA);
+ LOGWIN *dat = (LOGWIN*)GetWindowLong(hwndDlg, GWLP_USERDATA);
switch(message) {
case WM_INITDIALOG:
@@ -391,8 +391,8 @@ static BOOL CALLBACK LogDlgProc(HWND hwndDlg,UINT message,WPARAM wParam,LPARAM l dat->Paused = 0;
dat->hList = GetDlgItem(hwndDlg, IDC_LIST);
- SetWindowLong(hwndDlg, GWL_USERDATA, (LONG)dat);
- SetWindowLong(dat->hList, GWL_USERDATA, SetWindowLong(dat->hList,GWL_WNDPROC,(LONG)SubclassProc));
+ SetWindowLong(hwndDlg, GWLP_USERDATA, (LONG)dat);
+ SetWindowLong(dat->hList, GWLP_USERDATA, SetWindowLong(dat->hList,GWLP_WNDPROC,(LONG)SubclassProc));
// init buttons
{
@@ -689,7 +689,7 @@ static BOOL CALLBACK LogDlgProc(HWND hwndDlg,UINT message,WPARAM wParam,LPARAM l DestroyWindow(hwndDlg);
break;
case WM_DESTROY:
- SetWindowLong(dat->hList, GWL_WNDPROC, GetWindowLong(dat->hList,GWL_USERDATA));
+ SetWindowLong(dat->hList, GWLP_WNDPROC, GetWindowLong(dat->hList,GWLP_USERDATA));
SendMessage(hwndConsole, HM_REMOVE, 0, (LPARAM)dat);
break;
}
|