From 67580ce1fec70886c09e420e271b6acd83cfc01b Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 15 Jan 2007 04:45:11 +0000 Subject: [PATCH] very small simplification --- macosx/Controller.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index bfc996d3f..3e3aab50e 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1436,7 +1436,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy NSEnumerator * enumerator = [fTorrents objectEnumerator]; Torrent * torrent; while ((torrent = [enumerator nextObject])) - if ([torrent isActive] && [torrent allDownloaded]) + if ([torrent isSeeding]) [tempTorrents addObject: torrent]; } else if ([fFilterType isEqualToString: @"Download"]) @@ -1444,7 +1444,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy NSEnumerator * enumerator = [fTorrents objectEnumerator]; Torrent * torrent; while ((torrent = [enumerator nextObject])) - if ([torrent isActive] && ![torrent allDownloaded]) + if ([torrent isActive] && ![torrent isSeeding]) [tempTorrents addObject: torrent]; } else