(svn r8907) -Fix (r3281): reading from an unitialized variable.

This commit is contained in:
rubidium 2007-02-26 00:41:24 +00:00
parent 58f2b636b4
commit 67201b129d

View File

@ -508,12 +508,12 @@ static bool QZ_PollEvent(void)
break; break;
case NSLeftMouseDown: case NSLeftMouseDown:
pt = QZ_GetMouseLocation(event);
if (!([ event modifierFlags ] & NSCommandKeyMask) || if (!([ event modifierFlags ] & NSCommandKeyMask) ||
!QZ_MouseIsInsideView(&pt)) { !QZ_MouseIsInsideView(&pt)) {
[NSApp sendEvent:event]; [NSApp sendEvent:event];
} }
pt = QZ_GetMouseLocation(event);
if (!QZ_MouseIsInsideView(&pt)) { if (!QZ_MouseIsInsideView(&pt)) {
QZ_ShowMouse(); QZ_ShowMouse();
break; break;