-setFloat:forKey: @selector(aValue) -> @selector(floatValue)

This commit is contained in:
ratijas
2014-09-03 16:08:21 +00:00
parent cb390325a6
commit 06240d1183
+1 -1
View File
@@ -535,7 +535,7 @@ var StandardUserDefaults;
*/
- (void)setFloat:(float)aValue forKey:(CPString)aKey
{
if ([aValue respondsToSelector:@selector(aValue)])
if ([aValue respondsToSelector:@selector(floatValue)])
aValue = [aValue floatValue];
[self setObject:parseFloat(aValue) forKey:aKey];