WM_CONTEXTMENU lParam keyboard check needs to be sign extended on 64-bit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6727 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
274a74ebef
commit
2b5baa3639
1 changed files with 1 additions and 1 deletions
|
@ -1746,7 +1746,7 @@ static INT_PTR CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
|
||||||
POINT pt;
|
POINT pt;
|
||||||
AppendMenu(menu,MF_STRING,1,GetNSISStringTT(LANG_COPYDETAILS));
|
AppendMenu(menu,MF_STRING,1,GetNSISStringTT(LANG_COPYDETAILS));
|
||||||
pt.x = GET_X_LPARAM(lParam), pt.y = GET_Y_LPARAM(lParam);
|
pt.x = GET_X_LPARAM(lParam), pt.y = GET_Y_LPARAM(lParam);
|
||||||
if (lParam == ((UINT)-1)) // BUGBUG64?
|
if (lParam == (LPARAM)((INT_PTR)-1))
|
||||||
{
|
{
|
||||||
RECT r;
|
RECT r;
|
||||||
GetWindowRect(linsthwnd,&r);
|
GetWindowRect(linsthwnd,&r);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue