small wording change

This commit is contained in:
Mitchell Livingston 2006-07-07 01:31:24 +00:00
parent d7cb290e28
commit 82a793171c
1 changed files with 2 additions and 4 deletions

View File

@ -1167,14 +1167,12 @@ static void sleepCallBack(void * controller, io_service_t y,
while ((file = [enumerator nextObject]))
if ([[file pathExtension] caseInsensitiveCompare: @"torrent"] == NSOrderedSame)
{
NSString * fullPath = [path stringByAppendingPathComponent: file];
oldCount = [fTorrents count];
[self openFromSheet: [NSArray arrayWithObject: fullPath]];
[self openFromSheet: [NSArray arrayWithObject: [path stringByAppendingPathComponent: file]]];
//import only actually happened if the torrent array is larger
if (oldCount < [fTorrents count])
[self notifyGrowl: [file stringByAppendingString: @" Imported"] message: @"Torrent file imported"
[self notifyGrowl: [file stringByAppendingString: @" Auto Added"] message: @"Torrent file added"
notification: @"Automatically Add Torrent"];
}
}