From 6c6bd8d1d51ea93919a80b1e2f7b254c60bd31eb Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 17 Oct 2007 00:46:20 +0000 Subject: [PATCH] fix regression where N/A is shown when leechers, seeders, or completed is 0; promote AR --- AUTHORS | 2 +- macosx/Credits.rtf | 10 +++++----- macosx/InfoWindowController.m | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/AUTHORS b/AUTHORS index 36395a77b..d84e4215b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,6 +11,7 @@ Lead Developers Project Contributors Nick Pucius (Mac OS X Help documentation) Hugo van Heuven, madebysofa (Icon design, Mac toolbar icons) + Anthony Ryan (Redesigned icon, Mac inspector icons) Translators Mac OS X, current release: @@ -45,7 +46,6 @@ Image Contributors FOOOD Martin Stadtmueller (Icon tweaking) Mike Matas (Previous toolbar icons) - Anthony Ryan (Inspector icons) Jonas Rask (Globe icon) George Tsotsos Rashid Eissing (Transfers preferences icon) diff --git a/macosx/Credits.rtf b/macosx/Credits.rtf index eb1c7ed96..719990ed3 100644 --- a/macosx/Credits.rtf +++ b/macosx/Credits.rtf @@ -39,7 +39,10 @@ Lead Developers \fs20 \cf2 (Mac OS X Help documentation)\ \fs24 \cf0 Hugo van Heuven, madebysofa -\fs20 \cf2 (Icon design, Mac toolbar icons) +\fs20 \cf2 (Icon design, Mac toolbar icons)\ + +\fs24 \cf0 Anthony Ryan +\fs20 \cf2 (Redesigned icon, Mac inspector icons) \fs24 \cf0 \ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural \cf0 \ @@ -87,10 +90,7 @@ Image Contributors\ \f0\b\fs24 \cf0 \ \f1\b0 Mike Matas -\fs20 \cf2 (Previous toolbar icons)\ - -\fs24 \cf0 Anthony Ryan -\fs20 \cf2 (Inspector icons) +\fs20 \cf2 (Previous toolbar icons) \fs24 \cf0 \ Jonas Rask \fs20 \cf2 (Globe icon) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 1eb974c6a..9b575c914 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -1177,9 +1177,9 @@ typedef enum Torrent * torrent = [fTorrents objectAtIndex: 0]; int seeders = [torrent seeders], leechers = [torrent leechers], completed = [torrent completedFromTracker]; - [fSeedersField setStringValue: seeders > 0 ? [NSString stringWithFormat: @"%d", seeders] : @""]; - [fLeechersField setStringValue: leechers > 0 ? [NSString stringWithFormat: @"%d", leechers] : @""]; - [fCompletedFromTrackerField setStringValue: completed > 0 ? [NSString stringWithFormat: @"%d", completed] : @""]; + [fSeedersField setStringValue: seeders >= 0 ? [NSString stringWithFormat: @"%d", seeders] : @""]; + [fLeechersField setStringValue: leechers >= 0 ? [NSString stringWithFormat: @"%d", leechers] : @""]; + [fCompletedFromTrackerField setStringValue: completed >= 0 ? [NSString stringWithFormat: @"%d", completed] : @""]; BOOL active = [torrent isActive];