mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r8907) -Fix (r3281): reading from an unitialized variable.
This commit is contained in:
parent
34154aa89e
commit
f3f966e616
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue