always return a boolean from CPKeyedUnarchiver decodeBoolForKey:

This commit is contained in:
Klaas Pieter Annema committed 2010-09-08 13:28:40 +02:00
1 parent 1952bc2b76
commit 2dd1a1b54d
1 file changed
+1 -1
+1 -1
View File
@@ -235,7 +235,7 @@ var CPArrayClass = Ni
*/
- (BOOL)decodeBoolForKey:(CPString)aKey
{
return [self decodeObjectForKey:aKey];
return !![self decodeObjectForKey:aKey];
}
/*