From 802d9d589261d4e6799809b1a6a28de7bce26041 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 26 Jan 2013 19:52:08 +0000 Subject: [PATCH] remove another subscript usage --- macosx/InfoWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index ba9b409f0..603132e64 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -543,7 +543,7 @@ typedef enum - (void) resetInfoForTorrent: (NSNotification *) notification { - Torrent * torrent = [notification userInfo][@"Torrent"]; + Torrent * torrent = [[notification userInfo] objectForKey: @"Torrent"]; if (fTorrents && (!torrent || [fTorrents containsObject: torrent])) [self resetInfo]; }