Changeset 2106


Ignore:
Timestamp:
Jun 16, 2007, 10:36:38 PM (15 years ago)
Author:
livings124
Message:

get compiling again (tho torrent creation will crash)

Location:
branches/file_selection/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/file_selection/macosx/CreatorWindowController.m

    r2102 r2106  
    139139           
    140140            [alert beginSheetModalForWindow: [self window] modalDelegate: self didEndSelector: nil contextInfo: nil];
    141            
    142141            return;
    143142        }
     
    150149    {
    151150        NSAlert * alert = [[[NSAlert alloc] init] autorelease];
    152         [alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> .torrent warning -> button")];
     151        [alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> torrent extension warning -> button")];
    153152        [alert setMessageText: NSLocalizedString(@"Torrents must end in \".torrent\".",
    154                                                 "Create torrent -> .torrent warning -> title")];
     153                                                "Create torrent -> torrent extension warning -> title")];
    155154        [alert setInformativeText: NSLocalizedString(@"Add this file extension to create the torrent.",
    156                                                     "Create torrent -> .torrent warning -> warning")];
     155                                                    "Create torrent -> torrent extension warning -> warning")];
    157156        [alert setAlertStyle: NSWarningAlertStyle];
    158157       
    159158        [alert beginSheetModalForWindow: [self window] modalDelegate: self didEndSelector: nil contextInfo: nil];
    160        
    161159        return;
    162160    }
    163161   
    164     tr_makeMetaInfo(fInfo, [[fLocation stringByAppendingPathComponent: torrentName] UTF8String], [trackerString UTF8String],
    165                             [[fCommentView string] UTF8String], [fPrivateCheck state] == NSOnState);
     162    #warning fix
     163    tr_makeMetaInfo(fInfo, NULL, self, [[fLocation stringByAppendingPathComponent: torrentName] UTF8String],
     164            [trackerString UTF8String], [[fCommentView string] UTF8String], [fPrivateCheck state] == NSOnState);
    166165   
    167166    #warning add to T
Note: See TracChangeset for help on using the changeset viewer.