Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Changed so that it's obvious that the two code blocks are related.

  • Loading branch information
slouken committed Dec 2, 2009
1 parent f580a06 commit cc74073e15236e9380fb81125823ca310b94f523
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoawindow.m
@@ -243,7 +243,7 @@ - (void)mouseMoved:(NSEvent *)theEvent
point.x = point.x - rect.origin.x;
point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - rect.origin.y;
} else {
point.x -= window->x;
point.x = point.x - window->x;
point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - window->y;
}
if ( point.x < 0 || point.x >= window->w ||

0 comments on commit cc74073

Please sign in to comment.