Changeset 3358


Ignore:
Timestamp:
Oct 10, 2007, 11:17:44 PM (15 years ago)
Author:
livings124
Message:

display terabytes for file size when applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/NSStringAdditions.m

    r3257 r3358  
    5555        unit = NSLocalizedString(@"MB", "File size");
    5656    }
    57     else
     57    else if (size < 1099511627776.0)
    5858    {
    5959        convertedSize = size / 1073741824.0;
    6060        unit = NSLocalizedString(@"GB", "File size");
     61    }
     62    else
     63    {
     64        convertedSize = size / 1099511627776.0;
     65        unit = NSLocalizedString(@"TB", "File size");
    6166    }
    6267   
Note: See TracChangeset for help on using the changeset viewer.