([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:
mccallum 1996-03-22 01:46:30 +00:00
parent ab6898614c
commit 8557fb793d

View file

@ -203,10 +203,10 @@
OBJC_MALLOC(keys, id, count);
for (i = 0; i < count; i++)
{
[aCoder decodeObjectAt: &(objs[i])
withName: NULL];
[aCoder decodeObjectAt: &(keys[i])
withName: NULL];
[aCoder decodeObjectAt: &(objs[i])
withName: NULL];
}
[self initWithObjects: objs forKeys: keys count: count];
OBJC_FREE(objs);