Changeset 3438


Ignore:
Timestamp:
Oct 17, 2007, 12:46:20 AM (14 years ago)
Author:
livings124
Message:

fix regression where N/A is shown when leechers, seeders, or completed is 0; promote AR

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/AUTHORS

    r3415 r3438  
    1212        Nick Pucius  (Mac OS X Help documentation)
    1313        Hugo van Heuven, madebysofa  (Icon design, Mac toolbar icons)
     14        Anthony Ryan  (Redesigned icon, Mac inspector icons)
    1415
    1516Translators
     
    4647        Martin Stadtmueller  (Icon tweaking)
    4748        Mike Matas <http://www.mikematas.com/>  (Previous toolbar icons)
    48         Anthony Ryan  (Inspector icons)
    4949        Jonas Rask  (Globe icon)
    5050        George Tsotsos
  • trunk/macosx/InfoWindowController.m

    r3414 r3438  
    11781178   
    11791179    int seeders = [torrent seeders], leechers = [torrent leechers], completed = [torrent completedFromTracker];
    1180     [fSeedersField setStringValue: seeders > 0 ? [NSString stringWithFormat: @"%d", seeders] : @""];
    1181     [fLeechersField setStringValue: leechers > 0 ? [NSString stringWithFormat: @"%d", leechers] : @""];
    1182     [fCompletedFromTrackerField setStringValue: completed > 0 ? [NSString stringWithFormat: @"%d", completed] : @""];
     1180    [fSeedersField setStringValue: seeders >= 0 ? [NSString stringWithFormat: @"%d", seeders] : @""];
     1181    [fLeechersField setStringValue: leechers >= 0 ? [NSString stringWithFormat: @"%d", leechers] : @""];
     1182    [fCompletedFromTrackerField setStringValue: completed >= 0 ? [NSString stringWithFormat: @"%d", completed] : @""];
    11831183   
    11841184    BOOL active = [torrent isActive];
Note: See TracChangeset for help on using the changeset viewer.