mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
"isFolder" is a better method name than "folder"
This commit is contained in:
@@ -4060,7 +4060,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
while ((torrent = [enumerator nextObject]))
|
||||
{
|
||||
if ([torrent folder] || [torrent isComplete])
|
||||
if ([torrent isFolder] || [torrent isComplete])
|
||||
[urlArray addObject: [NSURL fileURLWithPath: [torrent dataLocation]]];
|
||||
}
|
||||
|
||||
@@ -4075,7 +4075,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
while ((torrent = [enumerator nextObject]))
|
||||
{
|
||||
if ([torrent folder] || [torrent isComplete])
|
||||
if ([torrent isFolder] || [torrent isComplete])
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user