Mercurial > hg > openttd
changeset 6159:34ef0dfaddfa draft
(svn r8907) -Fix (r3281): reading from an unitialized variable.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 26 Feb 2007 00:41:24 +0000 |
parents | 0a9ef1907f84 |
children | 6bb39697173c |
files | src/video/cocoa_v.mm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -508,12 +508,12 @@ 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;