Fixed Mac build errors.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3301 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2010-05-08 18:41:50 +00:00
parent 7bfc78fd57
commit 7647d98a83

View File

@ -809,7 +809,7 @@ static NSComparisonResult CompareDisplayModes(id arg1, id arg2, void *context)
{
// No AddOns at all. Show the first existing AddOns folder (paths are in order of preference, etc...).
BOOL pathIsDirectory;
NSString *path;
NSString *path = nil;
uint i = 1;
while (i < [[ResourceManager rootPaths] count])
@ -824,7 +824,7 @@ static NSComparisonResult CompareDisplayModes(id arg1, id arg2, void *context)
}
- (BOOL)validateMenuItem:(id <NSMenuItem>)menuItem
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem
{
if ([menuItem action] == @selector(showLogAction:))
{