some tidying up

This commit is contained in:
Mitchell Livingston
2007-05-06 17:18:11 +00:00
parent d6b8106097
commit d7007dd1f2
3 changed files with 2 additions and 4 deletions

View File

@@ -1871,8 +1871,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
if (!(importedNames = [[NSFileManager defaultManager] directoryContentsAtPath: path]))
return;
//only import those that have not been imported yet
#warning no mutable array
//only check files that have not been checked yet
NSMutableArray * newNames = [importedNames mutableCopy];
[newNames removeObjectsInArray: fAutoImportedNames];
[fAutoImportedNames setArray: importedNames];