all I can say is 'argh'

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@185 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Dylan Smith 2005-10-30 22:16:39 +00:00
parent 0f60b7c59a
commit 04793e182c

View File

@ -181,7 +181,7 @@ NSMutableDictionary* surface_cache;
NSArray* possibleExpansions = [[NSFileManager defaultManager] directoryContentsAtPath: addon_path];
for (j = 0; j < [possibleExpansions count]; j++)
{
NSString* item = (NSString *)[possibleExpansions objectAtIndex: i];
NSString* item = (NSString *)[possibleExpansions objectAtIndex: j];
if (([[item pathExtension] isEqual:@"oxp"])||([[item pathExtension] isEqual:@"oolite_expansion_pack"]))
{
BOOL dir_test = NO;