From fedca946d85059ac65916e7cfc49b0bdf64125eb Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 9 Jul 2006 15:22:20 +0000 Subject: [PATCH] More straightforward array creation. --- macosx/TorrentTableView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index f0b5e82cc..1df0bf161 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -103,9 +103,9 @@ Torrent * torrent = [fTorrents objectAtIndex: row]; if ([torrent isPaused]) - [fController resumeTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]]; + [fController resumeTorrents: [NSArray arrayWithObject: torrent]]; else if ([torrent isActive]) - [fController stopTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]]; + [fController stopTorrents: [NSArray arrayWithObject: torrent]]; else; } else if (sameRow && [self pointInRevealRect: point] && [self pointInRevealRect: fClickPoint])