mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(-_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:
parent
e3ddaddc58
commit
2a6e51f23b
1 changed files with 3 additions and 3 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue