mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
-setFloat:forKey: @selector(aValue) -> @selector(floatValue)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user