From 28419f169fdbfbd02c6193298c199dbe316c3ec5 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 22 Jul 2009 14:10:07 +0000 Subject: [PATCH] whoops - delete the torrent file if it is NOT the internal torrent file --- macosx/Torrent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 2f2097569..8adc68bbc 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -87,7 +87,7 @@ int trashDataFile(const char * filename) if (self) { - if (torrentDelete && [[self torrentLocation] isEqualToString: path]) + if (torrentDelete && ![[self torrentLocation] isEqualToString: path]) [Torrent trashFile: path]; } return self;