[Scummvm-cvs-logs] scummvm master -> 50f9f19927f6f2587966d63226d4c5170c91db12
criezy
criezy at scummvm.org
Fri Mar 25 19:32:02 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
50f9f19927 OS X: Fix access to NSArray items with older SDKs
Commit: 50f9f19927f6f2587966d63226d4c5170c91db12
https://github.com/scummvm/scummvm/commit/50f9f19927f6f2587966d63226d4c5170c91db12
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2016-03-25T18:30:48Z
Commit Message:
OS X: Fix access to NSArray items with older SDKs
Changed paths:
backends/taskbar/macosx/macosx-taskbar.mm
diff --git a/backends/taskbar/macosx/macosx-taskbar.mm b/backends/taskbar/macosx/macosx-taskbar.mm
index fd0bb23..4e3ce70 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"];
More information about the Scummvm-git-logs
mailing list