Skip to content

Commit

Permalink
Fix for replacementObjectForKeyedArchiver: not working properly (inco…
Browse files Browse the repository at this point in the history
…rrect decoding class).

Closes cappuccino#111.

Reviewed by me.
  • Loading branch information
Francisco Tolmasky committed May 6, 2009
1 parent bfefe5e commit 864c62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Foundation/CPKeyedArchiver.j
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ var _CPKeyedArchiverEncodeObject = function(self, anObject, isConditional)
}
else
{
var theClass = [anObject classForKeyedArchiver],
var theClass = [object classForKeyedArchiver],
plistObject = nil;

if ((theClass === _CPKeyedArchiverStringClass) || (theClass === _CPKeyedArchiverNumberClass))// || theClass == _CPKeyedArchiverBooleanClass)
Expand Down

0 comments on commit 864c62b

Please sign in to comment.