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]))