Fixed HWND compare in NC_HandleSetCursor.

This commit is contained in:
Alexandre Julliard 2001-09-14 21:29:19 +00:00
parent 6e24a0a46e
commit 021dd9908f
1 changed files with 2 additions and 1 deletions

View File

@ -1729,7 +1729,8 @@ LONG NC_HandleNCActivate( HWND hwnd, WPARAM wParam )
*/
LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
{
if (hwnd != (HWND)wParam) return 0; /* Don't set the cursor for child windows */
if (hwnd != WIN_GetFullHandle( (HWND)wParam ))
return 0; /* Don't set the cursor for child windows */
switch(LOWORD(lParam))
{