mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
iRetain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6533 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b6efd9b622
commit
1d8ffc96a1
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-04-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSFont.m: ([-initWithCoder:]) corrected retain/release error.
|
||||
|
||||
2000-04-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSWorkspace.m: Fixed bug setting preferred application/icon.
|
||||
|
|
|
@ -346,7 +346,7 @@ void setNSFont(NSString* key, NSFont* font)
|
|||
{
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &fontName];
|
||||
[aDecoder decodeArrayOfObjCType: @encode(float) count: 6 at: matrix];
|
||||
return [[self class] fontWithName: fontName matrix: matrix];
|
||||
return RETAIN([[self class] fontWithName: fontName matrix: matrix]);
|
||||
}
|
||||
|
||||
@end /* NSFont */
|
||||
|
|
Loading…
Reference in a new issue