(-_encodeCollectionWithCoder:): Fix typo. Fix super call.

(+_newCollectionWithCoder:): Fix super call.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@302 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-04-06 18:47:08 +00:00
parent e3ddaddc58
commit 2a6e51f23b

View file

@ -62,11 +62,11 @@
/* Archiving must mimic the above designated initializer */
- (void) _encodeCollectioinWitCoder: (Coder*)coder
- (void) _encodeCollectionWithCoder: (Coder*)coder
{
const char *encoding = [self contentType];
[super encodeWithCoder:coder];
[super _encodeCollectionWithCoder:coder];
[coder encodeValueOfSimpleType:@encode(char*)
at:&encoding
withName:"Array Encoding Type"];
@ -81,7 +81,7 @@
+ _newCollectionWithCoder: (Coder*)coder
{
char *encoding;
Array *n = [super newWithCoder:coder];
Array *n = [super _newCollectionWithCoder:coder];
[coder decodeValueOfSimpleType:@encode(char*)
at:&encoding
withName:NULL];