Changeset 10331


Ignore:
Timestamp:
Mar 8, 2010, 4:18:55 AM (12 years ago)
Author:
livings124
Message:

1.9x: #3017 fix the pieces bar for magnet links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/macosx/TorrentCell.m

    r9844 r10331  
    572572    Torrent * torrent = [self representedObject];
    573573   
     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   
    574582    NSInteger pieceCount = MIN([torrent pieceCount], MAX_PIECES);
    575583    float * piecesPercent = malloc(pieceCount * sizeof(float));
Note: See TracChangeset for help on using the changeset viewer.