Fix stringForObjectValue per fred's suggestion

This commit is contained in:
Gregory John Casamento 2019-09-27 01:53:56 -04:00
parent ced9f127e9
commit 32052dfdc0

View file

@ -70,8 +70,7 @@ GS_PRIVATE_INTERNAL(NSByteCountFormatter)
- (NSString *)stringForObjectValue: (id)obj
{
long long byteCount = [obj longLongValue];
return [[self class] stringFromByteCount: byteCount
countStyle: NSByteCountFormatterUseDefault];
return [self stringFromByteCount: byteCount];
}
- (NSByteCountFormatterUnits) _adaptiveSettings: (double)byteCount