fixed allocation of NSMutableArray

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2009-05-14 23:21:05 +00:00
parent 7f6ee7d9fd
commit 448d898622
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-05-14 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSApplication.m: fixed allocation of Mutable array instead of Array
2009-05-14 14:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/NSWindow.h: Added ivar to contain attachedSheet.

View file

@ -3456,7 +3456,7 @@ struct _DelegateWrapper
- (NSArray *) orderedWindows
{
NSArray *arr = GSOrderedWindows();
NSMutableArray *ret = [[NSArray alloc] initWithCapacity:[arr count]];
NSMutableArray *ret = [[NSMutableArray alloc] initWithCapacity:[arr count]];
NSEnumerator *iter = [arr objectEnumerator];
id win;
while ((win = [iter nextObject]))