mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
([ConstantKeyedCollection -_decodeContentsWithCoder:]): Reverse order
of objects and keys, to match _encodeContentsWithCoder:. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1252 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0a7e7d34fd
commit
d4ab4732b7
1 changed files with 2 additions and 2 deletions
|
@ -203,10 +203,10 @@
|
||||||
OBJC_MALLOC(keys, id, count);
|
OBJC_MALLOC(keys, id, count);
|
||||||
for (i = 0; i < count; i++)
|
for (i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
[aCoder decodeObjectAt: &(objs[i])
|
|
||||||
withName: NULL];
|
|
||||||
[aCoder decodeObjectAt: &(keys[i])
|
[aCoder decodeObjectAt: &(keys[i])
|
||||||
withName: NULL];
|
withName: NULL];
|
||||||
|
[aCoder decodeObjectAt: &(objs[i])
|
||||||
|
withName: NULL];
|
||||||
}
|
}
|
||||||
[self initWithObjects: objs forKeys: keys count: count];
|
[self initWithObjects: objs forKeys: keys count: count];
|
||||||
OBJC_FREE(objs);
|
OBJC_FREE(objs);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue