Changeset 11028 for branches/2.0x/macosx/FileNameCell.m
- Timestamp:
- Jul 21, 2010, 3:59:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0x/macosx/FileNameCell.m
r10981 r11028 212 212 213 213 const CGFloat progress = [torrent fileProgress: node]; 214 NSString * percentString = [NSString percentString: progress longDecimals: YES]; 214 NSString * percentString = progress == 1.0 ? @"100%" 215 : [NSString localizedStringWithFormat: @"%.2f%%", tr_truncd(progress * 100.0, 2)]; 215 216 216 217 NSString * status = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@",
Note: See TracChangeset
for help on using the changeset viewer.