mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
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:
parent
8cd613c188
commit
4d3a165d8a
11 changed files with 104 additions and 59 deletions
|
@ -424,7 +424,7 @@ static SEL appSel;
|
|||
RELEASE(myString);
|
||||
if ([result isKindOfClass: NSDictionaryClass])
|
||||
{
|
||||
[self initWithDictionary: result];
|
||||
self = [self initWithDictionary: result];
|
||||
return self;
|
||||
}
|
||||
}
|
||||
|
@ -975,13 +975,16 @@ static NSString *indentStrings[] = {
|
|||
forKeys: (id*)keys
|
||||
count: (unsigned)count
|
||||
{
|
||||
IMP setObj;
|
||||
|
||||
[self initWithCapacity: count];
|
||||
setObj = [self methodForSelector: setSel];
|
||||
while (count--)
|
||||
self = [self initWithCapacity: count];
|
||||
if (self != nil)
|
||||
{
|
||||
(*setObj)(self, setSel, objects[count], keys[count]);
|
||||
IMP setObj;
|
||||
|
||||
setObj = [self methodForSelector: setSel];
|
||||
while (count--)
|
||||
{
|
||||
(*setObj)(self, setSel, objects[count], keys[count]);
|
||||
}
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue