mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Remove redundant check
This commit is contained in:
parent
28ff42fa4b
commit
22fa2f21ea
1 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue