Changeset 741 for trunk/macosx/InfoWindowController.m
- Timestamp:
- Aug 8, 2006, 2:36:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/InfoWindowController.m
r686 r741 222 222 int seeders = [torrent seeders], leechers = [torrent leechers]; 223 223 [fSeedersField setStringValue: seeders < 0 ? 224 @" N/A" : [NSString stringWithInt: seeders]];224 @"" : [NSString stringWithInt: seeders]]; 225 225 [fLeechersField setStringValue: leechers < 0 ? 226 @" N/A" : [NSString stringWithInt: leechers]];226 @"" : [NSString stringWithInt: leechers]]; 227 227 228 228 BOOL active = [torrent isActive]; 229 229 230 230 [fConnectedPeersField setStringValue: active ? [NSString 231 stringWithInt: [torrent totalPeers]] : @" N/A"];231 stringWithInt: [torrent totalPeers]] : @""]; 232 232 [fDownloadingFromField setStringValue: active ? [NSString 233 stringWithInt: [torrent peersUploading]] : @" N/A"];233 stringWithInt: [torrent peersUploading]] : @""]; 234 234 [fUploadingToField setStringValue: active ? [NSString 235 stringWithInt: [torrent peersDownloading]] : @" N/A"];235 stringWithInt: [torrent peersDownloading]] : @""]; 236 236 237 237 [fRatioField setStringValue: [NSString stringForRatioWithDownload:
Note: See TracChangeset
for help on using the changeset viewer.