mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:30:48 +00:00
Added fix suggested by George.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28375 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
48a1be38fa
commit
a145faad11
2 changed files with 8 additions and 2 deletions
|
@ -847,7 +847,7 @@ that makes decoding and encoding compatible with the old code.
|
|||
// currently not used....
|
||||
if ([aDecoder containsValueForKey: @"NSTextStorage"])
|
||||
{
|
||||
_textStorage = [aDecoder decodeObjectForKey: @"NSTextStorage"];
|
||||
_textStorage = RETAIN([aDecoder decodeObjectForKey: @"NSTextStorage"]);
|
||||
}
|
||||
|
||||
// currently not used....
|
||||
|
@ -864,7 +864,7 @@ that makes decoding and encoding compatible with the old code.
|
|||
[aTextContainer setWidthTracksTextView: YES];
|
||||
[aTextContainer setHeightTracksTextView: NO];
|
||||
*/
|
||||
_textContainer = [aDecoder decodeObjectForKey: @"NSTextContainer"];
|
||||
_textContainer = RETAIN([aDecoder decodeObjectForKey: @"NSTextContainer"]);
|
||||
}
|
||||
|
||||
if ([aDecoder containsValueForKey: @"NSTVFlags"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue