Changeset 8676


Ignore:
Timestamp:
Jun 11, 2009, 11:43:13 PM (13 years ago)
Author:
livings124
Message:

fix whoops with auto-add for users that are having UTI problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r8675 r8676  
    24572457        NSString * fullFile = [path stringByAppendingPathComponent: file];
    24582458       
    2459         if (![[[NSWorkspace sharedWorkspace] typeOfFile: fullFile error: NULL] isEqualToString: @"org.bittorrent.torrent"]
    2460             || [[fullFile pathExtension] caseInsensitiveCompare: @"torrent"] == NSOrderedSame)
     2459        if (!([[[NSWorkspace sharedWorkspace] typeOfFile: fullFile error: NULL] isEqualToString: @"org.bittorrent.torrent"]
     2460                || [[fullFile pathExtension] caseInsensitiveCompare: @"torrent"] == NSOrderedSame))
    24612461            continue;
    24622462       
Note: See TracChangeset for help on using the changeset viewer.