Ignore:
Timestamp:
Jun 8, 2014, 10:16:01 PM (7 years ago)
Author:
jordan
Message:

(trunk) replace the tr_metainfo_builder.isSingleFile and tr_info.isMultifile fields an 'isFolder' bool in both structs.

This makes the variable naming more uniform. It also clarifies the information we're really trying to convey -- previously, isSingleFile was false whenever the torrent held a directory tree, even if there was only a single file in the tree.

Sync the Mac OS X client's use to match the libtransmission variable names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r14223 r14290  
    954954        //determine to show the options window
    955955        const BOOL showWindow = type == ADD_SHOW_OPTIONS || ([fDefaults boolForKey: @"DownloadAsk"]
    956                                     && (info.isMultifile || ![fDefaults boolForKey: @"DownloadAskMulti"])
     956                                    && (info.isFolder || ![fDefaults boolForKey: @"DownloadAskMulti"])
    957957                                    && (type != ADD_AUTO || ![fDefaults boolForKey: @"DownloadAskManual"]));
    958958        tr_metainfoFree(&info);
Note: See TracChangeset for help on using the changeset viewer.