mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:20:37 +00:00
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:
parent
7f6ee7d9fd
commit
448d898622
2 changed files with 5 additions and 1 deletions
|
@ -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]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue