]> granicus.if.org Git - transmission/commitdiff
remove another subscript usage
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 26 Jan 2013 19:52:08 +0000 (19:52 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 26 Jan 2013 19:52:08 +0000 (19:52 +0000)
macosx/InfoWindowController.m

index ba9b409f0960602500547d298192a5f99250c1bd..603132e64dbcebb074ed82dff1d767865a29e4f2 100644 (file)
@@ -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];
 }