Changeset 98


Ignore:
Timestamp:
Feb 8, 2006, 9:49:06 AM (15 years ago)
Author:
titer
Message:

Use the infinite symbol rather than "Inf."

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jamfile

    r14 r98  
    3434        macosx/ProgressCell.m
    3535        macosx/main.m
     36        macosx/StringAdditions.h
     37        macosx/StringAdditions.m
    3638        macosx/TorrentTableView.h
    3739        macosx/TorrentTableView.m
    38         macosx/Transmission.sdef
     40        macosx/Transmission.sdef
    3941        macosx/Transmission.xcodeproj/project.pbxproj
    4042        macosx/Transmission_Prefix.pch
  • trunk/macosx/StringAdditions.m

    r94 r98  
    3737}
    3838
    39 + (NSString *) stringForRatio: (uint64_t) down upload: (uint64_t) up;
     39+ (NSString *) stringForRatio: (uint64_t) down upload: (uint64_t) up
    4040{
    4141    if( !down && !up )
    4242        return @"N/A";
    4343    if( !down )
    44         return @"Inf.";
     44        return [NSString stringWithUTF8String: "\xE2\x88\x9E"];
    4545
    4646    float ratio = (float) up / (float) down;
Note: See TracChangeset for help on using the changeset viewer.