mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:20:47 +00:00
Added missing RETAINs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7346 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c807571b78
commit
6792f04451
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,7 @@ static GSFontEnumerator *sharedEnumerator = nil;
|
|||
[NSNumber numberWithInt: 14], @"obese",
|
||||
[NSNumber numberWithInt: 14], @"nord",
|
||||
nil];
|
||||
RETAIN(dict);
|
||||
}
|
||||
|
||||
if ((weightString == nil) ||
|
||||
|
@ -220,6 +221,7 @@ static GSFontEnumerator *sharedEnumerator = nil;
|
|||
@"bold", @"extrabold", @"heavy",
|
||||
@"black", @"ultrablack", @"extrablack",
|
||||
nil];
|
||||
RETAIN(arr);
|
||||
}
|
||||
|
||||
if ((aWeight < 1) || (aWeight > 14))
|
||||
|
|
Loading…
Reference in a new issue