Various fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8810 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2001-01-26 12:09:35 +00:00
parent 8cd613c188
commit 4d3a165d8a
11 changed files with 104 additions and 59 deletions

View file

@ -502,10 +502,13 @@ static Class NSMutableSet_concrete_class;
- (id) initWithObjects: (id*)objects
count: (unsigned)count
{
[self initWithCapacity: count];
while (count--)
self = [self initWithCapacity: count];
if (self != nil)
{
[self addObject: objects[count]];
while (count--)
{
[self addObject: objects[count]];
}
}
return self;
}