CPByteCountFormatterUseDefault doesn't need to be transformed, I'm checking for it in the code

This commit is contained in:
Aparajita Fishman
2013-02-11 23:32:11 -05:00
parent a622f5ca9b
commit e4283e2dc2
+2 -2
View File
@@ -269,8 +269,8 @@ var CPByteCountFormatterUnits = [ @"bytes", @"KB", @"MB", @"GB", @"TB", @"PB" ];
- (void)setAllowedUnits:(int)allowed
{
// CPByteCountFormatterUseDefault is equivalent to UseAll
_allowedUnits = allowed ? allowed : CPByteCountFormatterUseAll;
// Note: CPByteCountFormatterUseDefault is equivalent to UseAll
_allowedUnits = allowed;
}
- (BOOL)includesCount