File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ - (void) autoEncodeWithCoder:(NSCoder *)coder
6868 NSInvocation *invocation = [NSInvocation invocationWithMethodSignature: signature];
6969 [invocation setSelector: NSSelectorFromString (key)];
7070 [invocation setTarget: self ];
71-
7271 switch ([type characterAtIndex: 0 ]) {
7372 case ' @' : // object
7473 if ([[type componentsSeparatedByString: @" \" " ] count ] > 1 ) {
@@ -84,6 +83,7 @@ - (void) autoEncodeWithCoder:(NSCoder *)coder
8483 }
8584 }
8685 break ;
86+ case ' B' : // bool for 64bit
8787 case ' c' : // bool
8888 [invocation invoke ];
8989 [invocation getReturnValue: &boolValue];
@@ -191,6 +191,7 @@ - (void) autoDecode:(NSCoder *)coder
191191 }
192192 }
193193 break ;
194+ case ' B' : // bool for 64bit
194195 case ' c' : // bool
195196 number = [coder decodeObjectForKey: key];
196197 b = [number boolValue ];
You can’t perform that action at this time.
0 commit comments