Changeset - r3802:47131899ed0a
[Not reviewed]
master
0 1 0
glx - 18 years ago 2006-05-09 17:24:08
glx@openttd.org
(svn r4810) - Fix: removed warning about strict-alias (release build)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
video/win32_v.c
Show inline comments
 
@@ -202,7 +202,7 @@ static void CALLBACK TrackMouseTimerProc
 
	 * 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)) {
0 comments (0 inline, 0 general)