Changeset 1013 for trunk/macosx/Controller.m
- Timestamp:
- Oct 16, 2006, 2:42:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r1012 r1013 114 114 [fFilterType release]; 115 115 116 if (fAutoImportedNames) 117 [fAutoImportedNames release]; 116 [fAutoImportedNames release]; 118 117 119 118 tr_close(fLib); … … 1564 1563 - (void) changeAutoImport 1565 1564 { 1566 if (fAutoImportedNames) 1567 { 1568 [fAutoImportedNames release]; 1569 fAutoImportedNames = nil; 1570 } 1565 [fAutoImportedNames removeAllObjects]; 1571 1566 1572 1567 if ([fDefaults boolForKey: @"AutoImport"]) … … 1588 1583 NSMutableArray * newNames = [importedNames mutableCopy]; 1589 1584 [newNames removeObjectsInArray: fAutoImportedNames]; 1590 if (fAutoImportedNames) 1591 [fAutoImportedNames release]; 1592 fAutoImportedNames = [importedNames retain]; 1585 [fAutoImportedNames addObjectsFromArray: newNames]; 1593 1586 1594 1587 NSEnumerator * enumerator = [newNames objectEnumerator];
Note: See TracChangeset
for help on using the changeset viewer.