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]; }