mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 20:41:55 +00:00
Minor retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a0176ab77
commit
1739abf2af
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSAttributedString.m: attachmentString() - retain newly
|
||||||
|
created string.
|
||||||
|
|
||||||
2000-06-26 Fred Kiefer <FredKiefer@gmx.de>
|
2000-06-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/AppKit/NSTextAttachment.h
|
* Headers/AppKit/NSTextAttachment.h
|
||||||
|
|
|
@ -94,8 +94,7 @@ static NSString *attachmentString()
|
||||||
if (attach == nil)
|
if (attach == nil)
|
||||||
{
|
{
|
||||||
unichar ch = NSAttachmentCharacter;
|
unichar ch = NSAttachmentCharacter;
|
||||||
attach = [NSString stringWithCharacters: &ch
|
attach = RETAIN([NSString stringWithCharacters: &ch length: 1]);
|
||||||
length: 1];
|
|
||||||
}
|
}
|
||||||
return attach;
|
return attach;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue