Merge pull request #2192 from ratijas/master

-setFloat:forKey: @selector(aValue) -> @selector(floatValue)
This commit is contained in:
Antoine Mercadal committed 2014-09-04 13:54:14 -07:00
commit 50b3aabb76
1 file changed
+1 -1
+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];