Ignore:
Timestamp:
Aug 8, 2006, 2:36:02 AM (16 years ago)
Author:
livings124
Message:

placeholder of N/A in info window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r686 r741  
    222222            int seeders = [torrent seeders], leechers = [torrent leechers];
    223223            [fSeedersField setStringValue: seeders < 0 ?
    224                 @"N/A" : [NSString stringWithInt: seeders]];
     224                @"" : [NSString stringWithInt: seeders]];
    225225            [fLeechersField setStringValue: leechers < 0 ?
    226                 @"N/A" : [NSString stringWithInt: leechers]];
     226                @"" : [NSString stringWithInt: leechers]];
    227227           
    228228            BOOL active = [torrent isActive];
    229229           
    230230            [fConnectedPeersField setStringValue: active ? [NSString
    231                     stringWithInt: [torrent totalPeers]] : @"N/A"];
     231                    stringWithInt: [torrent totalPeers]] : @""];
    232232            [fDownloadingFromField setStringValue: active ? [NSString
    233                     stringWithInt: [torrent peersUploading]] : @"N/A"];
     233                    stringWithInt: [torrent peersUploading]] : @""];
    234234            [fUploadingToField setStringValue: active ? [NSString
    235                     stringWithInt: [torrent peersDownloading]] : @"N/A"];
     235                    stringWithInt: [torrent peersDownloading]] : @""];
    236236           
    237237            [fRatioField setStringValue: [NSString stringForRatioWithDownload:
Note: See TracChangeset for help on using the changeset viewer.