forked from mirror/OpenTTD
(svn r8907) -Fix (r3281): reading from an unitialized variable.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user