aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/taskbar/macosx/macosx-taskbar.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/taskbar/macosx/macosx-taskbar.mm b/backends/taskbar/macosx/macosx-taskbar.mm
index fd0bb23d7b..4e3ce70320 100644
--- a/backends/taskbar/macosx/macosx-taskbar.mm
+++ b/backends/taskbar/macosx/macosx-taskbar.mm
@@ -270,7 +270,7 @@ void MacOSXTaskbarManager::addRecent(const Common::String &name, const Common::S
[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"];