Display the number of active torrents when quitting, not downloading torrents

This commit is contained in:
Eric Petit 2006-02-01 00:14:26 +00:00
parent 00ef8642bf
commit bb7711ed2c
1 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,8 @@ static void sleepCallBack( void * controller, io_service_t y,
NSString * message = active == 1
? @"There is an active torrent. Do you really want to quit?"
: [NSString stringWithFormat:
@"There are %d active torrents. Do you really want to quit?", fDownloading];
@"There are %d active torrents. Do you really want to quit?",
active];
NSBeginAlertSheet(@"Confirm Quit",
@"Quit", @"Cancel", nil,