From 793ea1b10b8f604ddfa8d09d5643a16febdde423 Mon Sep 17 00:00:00 2001 From: rmottola Date: Thu, 14 May 2009 23:21:05 +0000 Subject: [PATCH] fixed allocation of NSMutableArray git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28284 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Source/NSApplication.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6d024dcc9..717e431f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-05-14 Riccardo Mottola + + * Source/NSApplication.m: fixed allocation of Mutable array instead of Array + 2009-05-14 14:15-EDT Gregory John Casamento * Headers/AppKit/NSWindow.h: Added ivar to contain attachedSheet. diff --git a/Source/NSApplication.m b/Source/NSApplication.m index df6de288d..a0ac4aa5d 100644 --- a/Source/NSApplication.m +++ b/Source/NSApplication.m @@ -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]))