| author | glx |
| Tue, 09 May 2006 17:24:08 +0000 | |
| changeset 3802 | e3f0d57cc358 |
| parent 3801 | 4307270e7100 |
| child 3803 | 87ff6c6f7d96 |
| video/win32_v.c | file | annotate | diff | comparison | revisions |
--- a/video/win32_v.c Tue May 09 17:10:26 2006 +0000 +++ b/video/win32_v.c Tue May 09 17:24:08 2006 +0000 @@ -202,7 +202,7 @@ * Compare this with the current screen coordinates of the mouse and if it * falls outside of the area or our window we have left the window. */ GetClientRect(hwnd, &rc); - MapWindowPoints(hwnd, HWND_DESKTOP, (LPPOINT)&rc, 2); + MapWindowPoints(hwnd, HWND_DESKTOP, (LPPOINT)(LPRECT)&rc, 2); GetCursorPos(&pt); if (!PtInRect(&rc, pt) || (WindowFromPoint(pt) != hwnd)) {