From 5124d87a5b3901e16aa42583cf355c6e639bfa19 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 19 Jun 2011 03:59:04 +0000 Subject: [PATCH] in the dock badger, check for membership first when removing a torrent --- macosx/Badger.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Badger.m b/macosx/Badger.m index c63b0ea11..04fdcfed3 100644 --- a/macosx/Badger.m +++ b/macosx/Badger.m @@ -74,7 +74,7 @@ - (void) removeTorrent: (Torrent *) torrent { - if ([fHashes count] > 0) + if ([fHashes member: [torrent hashString]]) { [fHashes removeObject: [torrent hashString]]; if ([fHashes count] > 0)