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);