From 67201b129de8c1a41b0ca09e1de67caedfcd4e60 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 26 Feb 2007 00:41:24 +0000 Subject: (svn r8907) -Fix (r3281): reading from an unitialized variable. --- src/video/cocoa_v.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm index aaa9475ef..371f6b777 100644 --- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -508,12 +508,12 @@ static bool QZ_PollEvent(void) break; case NSLeftMouseDown: + pt = QZ_GetMouseLocation(event); if (!([ event modifierFlags ] & NSCommandKeyMask) || !QZ_MouseIsInsideView(&pt)) { [NSApp sendEvent:event]; } - pt = QZ_GetMouseLocation(event); if (!QZ_MouseIsInsideView(&pt)) { QZ_ShowMouse(); break; -- cgit v1.2.3-70-g09d2