Fixed awakeAfterUsingCoder:.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2008-09-17 03:50:03 -07:00
1 parent 525493574c
commit b6f6102970
1 file changed
+1 -1
+1 -1
View File
@@ -419,7 +419,7 @@ var _CPKeyedUnarchiverDecodeObjectAtIndex = function(self, anIndex)
processedObject = [object awakeAfterUsingCoder:self];
if (processedObject == object)
if (processedObject != object)
{
if (self._delegateSelectors & _CPKeyedUnarchiverWillReplaceObjectWithObjectSelector)
[self._delegate unarchiver:self willReplaceObject:object withObject:processedObject];