From f4585dc2f0d4c83ea4ae14dff5c0fc9c363aa381 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Fri, 26 Mar 2010 01:30:50 -0700 Subject: [PATCH] Fix for unrecognized selector in CPURL's initWithCoder:. Reviewed by me. --- Foundation/CPURL.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Foundation/CPURL.j b/Foundation/CPURL.j index dd46d9a8e..25dbb7d5a 100644 --- a/Foundation/CPURL.j +++ b/Foundation/CPURL.j @@ -196,8 +196,8 @@ var CPURLURLStringKey = @"CPURLURLStringKey", - (id)initWithCoder:(CPCoder)aCoder { - return [self initWithURLString:[aCoder decodeObjectForKey:CPURLURLStringKey] - baseURL:[aCoder decodeObjectForKey:CPURLBaseURLKey]]; + return [self initWithString:[aCoder decodeObjectForKey:CPURLURLStringKey] + relativeToURL:[aCoder decodeObjectForKey:CPURLBaseURLKey]]; } - (void)encodeWithCoder:(CPCoder)aCoder