Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed crash
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 6, 2009
1 parent 25eb8c8 commit 0d71b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -421,7 +421,7 @@ - (BOOL)canBecomeMainWindow
NSScreen *candidate;
int i, count = [screens count];
for (i = 0; i < count; ++i) {
screen = [screens objectAtIndex:i];
candidate = [screens objectAtIndex:i];
NSRect screenRect = [candidate frame];
if (rect.origin.x >= screenRect.origin.x &&
rect.origin.x < screenRect.origin.x + screenRect.size.width &&
Expand Down

0 comments on commit 0d71b13

Please sign in to comment.