Changeset 13510


Ignore:
Timestamp:
Sep 22, 2012, 4:09:52 PM (9 years ago)
Author:
livings124
Message:

Remove the Simplified Chinese localization. We are on the lookout for a new localizer.

Location:
trunk/macosx
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/NSStringAdditions.m

    r13495 r13510  
    9393        else
    9494        {
    95             //we have to catch 0 with a special case, so might as well avoid the math for all of magnitude 0
    96             const unsigned int magnitudePartial = partialSize >= 1000 ? log(partialSize)/log(1000) : 0;
    97             const unsigned int magnitudeFull = fullSize >= 1000 ? log(fullSize)/log(1000) : 0;
     95            const unsigned int magnitudePartial = log(partialSize)/log(1000);
     96            const unsigned int magnitudeFull = fullSize < 1000 ? 0 : log(fullSize)/log(1000); //we have to catch 0 with a special case, so might as well avoid the math for all of magnitude 0
    9897            partialUnitsSame = magnitudePartial == magnitudeFull;
    9998        }
Note: See TracChangeset for help on using the changeset viewer.