o coder changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18180 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2003-11-24 12:09:30 +00:00
parent 3605fa6a18
commit ce706211bf

View file

@ -241,7 +241,7 @@ RCS_ID("$Id$")
//--------------------------------------------------------------------
-(id)initWithCoder:(NSCoder*)coder
{
if ((self = [super initWithCoder:coder]))
if ((self = [self init]))
{
[coder decodeValueOfObjCType:@encode(id)
at:&_url];
@ -254,7 +254,6 @@ RCS_ID("$Id$")
//--------------------------------------------------------------------
-(void)encodeWithCoder:(NSCoder*)coder
{
[super encodeWithCoder:coder];
[self _compose];
[coder encodeObject:_url];
};