Skip to content

Commit

Permalink
OS X: Fix access to NSArray items with older SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
criezy authored and sev- committed Mar 27, 2016
1 parent b7237df commit 56245e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/taskbar/macosx/macosx-taskbar.mm
Expand Up @@ -270,7 +270,7 @@
[newArray insertObject:dict atIndex:0];
// If the game was already present in the array, remove it
for (int i = 1 ; i < [newArray count] ; ++i) {
NSDictionary* oldDict = newArray[i];
NSDictionary* oldDict = [newArray objectAtIndex:i];
if (oldDict == nil)
continue;
NSString* oldGame = [oldDict valueForKey:@"game"];
Expand Down

0 comments on commit 56245e7

Please sign in to comment.