Changeset 10318
- Timestamp:
- Mar 7, 2010, 2:46:49 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/TorrentCell.m
r9844 r10318 572 572 Torrent * torrent = [self representedObject]; 573 573 574 //fill an all-white bar for magnet links 575 if ([torrent isMagnet]) 576 { 577 [[NSColor whiteColor] set]; 578 NSRectFill(barRect); 579 return; 580 } 581 574 582 NSInteger pieceCount = MIN([torrent pieceCount], MAX_PIECES); 575 583 float * piecesPercent = malloc(pieceCount * sizeof(float));
Note: See TracChangeset
for help on using the changeset viewer.