Correction for crash.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29760 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-02-26 03:39:24 +00:00
parent 04cf85a424
commit 8d1c156985
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-02-25 22:37-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSClipView.m: Correction for crash.
2010-02-25 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSDrawer.m: removed c99-isms

View file

@ -778,7 +778,8 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
[self setAutoresizesSubviews: YES];
[self setBackgroundColor: [aDecoder decodeObjectForKey: @"NSBGColor"]];
[self setDocumentCursor: [aDecoder decodeObjectForKey: @"NSCursor"]];
[self setDocumentCursor:
RETAIN([aDecoder decodeObjectForKey: @"NSCursor"])];
if ([aDecoder containsValueForKey: @"NScvFlags"])
{