From bb7711ed2cd35195f74b8e82a58b71c27880e128 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Wed, 1 Feb 2006 00:14:26 +0000 Subject: [PATCH] Display the number of active torrents when quitting, not downloading torrents --- macosx/Controller.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 2fa6e4b34..792429765 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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,