Changeset 209


Ignore:
Timestamp:
Apr 5, 2006, 1:52:00 PM (16 years ago)
Author:
titer
Message:

Cosmetic

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.h

    r208 r209  
    3434{
    3535    tr_handle_t                 * fLib;
    36     int                         fCount, fCompleted;
     36    int                         fCompleted;
    3737    NSMutableArray              * fTorrents;
    3838
  • trunk/macosx/Controller.m

    r208 r209  
    456456    {
    457457        NSDictionary * dict = [NSDictionary dictionaryWithObjectsAndKeys:
    458             [NSString stringWithInt: idx], @"Index",
    459             [NSString stringWithInt: deleteTorrent], @"DeleteTorrent",
    460             [NSString stringWithInt: deleteData], @"DeleteData",
     458            [NSNumber numberWithInt: idx], @"Index",
     459            [NSNumber numberWithBool: deleteTorrent], @"DeleteTorrent",
     460            [NSNumber numberWithBool: deleteData], @"DeleteData",
    461461            nil];
    462462        [dict retain];
     
    482482    if( returnCode == NSAlertDefaultReturn )
    483483    {
    484         int idx = [[dict objectForKey:@"Index"] intValue];
    485 
    486         [self confirmRemoveTorrentWithIndex: idx
    487             deleteTorrent: [[dict objectForKey:@"DeleteTorrent"] intValue]
    488             deleteData: [[dict objectForKey:@"DeleteData"] intValue]];
     484        [self confirmRemoveTorrentWithIndex:
     485            [[dict objectForKey:@"Index"] intValue]
     486            deleteTorrent: [[dict objectForKey:@"DeleteTorrent"] boolValue]
     487            deleteData: [[dict objectForKey:@"DeleteData"] boolValue]];
    489488    }
    490489
Note: See TracChangeset for help on using the changeset viewer.