diff --git a/Source/NSFontCollection.m b/Source/NSFontCollection.m index 501063541..57f8db8c3 100644 --- a/Source/NSFontCollection.m +++ b/Source/NSFontCollection.m @@ -85,15 +85,8 @@ static NSLock *_fontCollectionLock = nil; NSDirectoryEnumerator *de = nil; NSFontCollection *newCollection = nil; - if (_availableFontCollections == nil) - { - // Create the global array of font collections... - _availableFontCollections = [[NSMutableDictionary alloc] init]; - } - else - { - [_availableFontCollections removeAllObjects]; - } + // Create the global array of font collections... + _availableFontCollections = [[NSMutableDictionary alloc] init]; /* * Load font lists found in standard paths into the array