Remove redundant check

This commit is contained in:
Gregory John Casamento 2020-03-12 15:45:55 -04:00
parent 28ff42fa4b
commit 22fa2f21ea

View file

@ -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