mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-18 04:29:22 +00:00
Merge pull request #2192 from ratijas/master
-setFloat:forKey: @selector(aValue) -> @selector(floatValue)
This commit is contained in:
commit
50b3aabb76
1 file changed
+1
-1
@@ -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