Ignore:
Timestamp:
Jul 23, 2006, 7:22:24 PM (16 years ago)
Author:
livings124
Message:

simplify rect width and height measurements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r639 r678  
    368368       
    369369        //place status string
    370         pen.x = cellFrame.origin.x + cellFrame.size.width - PADDING - [statusString size].width;
     370        pen.x = NSMaxX(cellFrame) - PADDING - [statusString size].width;
    371371        pen.y += ([nameString size].height - [statusString size].height) * 0.5;
    372372       
Note: See TracChangeset for help on using the changeset viewer.