From c7265daeeb17f5cd731dc5efa34dd6f76ea57a40 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 26 Sep 2006 03:27:41 +0000 Subject: [PATCH] waiting torrents won't go to the queue... --- macosx/Controller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 51b2b92b9..4ec20bbb9 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -2176,7 +2176,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy for (i = [indexSet firstIndex]; i != NSNotFound; i = [indexSet indexGreaterThanIndex: i]) { torrent = [fDisplayedTorrents objectAtIndex: i]; - if ([torrent isPaused]) + if ([torrent isPaused] && [torrent progress] < 1.0) return YES; } return NO;