From d4ab4732b762d8afc13de87162bb90c44e7de651 Mon Sep 17 00:00:00 2001 From: Andrew McCallum Date: Fri, 22 Mar 1996 01:46:30 +0000 Subject: [PATCH] ([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 --- Source/KeyedCollection.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/KeyedCollection.m b/Source/KeyedCollection.m index 0c44c0eb3..cf5888360 100644 --- a/Source/KeyedCollection.m +++ b/Source/KeyedCollection.m @@ -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);