Changeset 3306


Ignore:
Timestamp:
Oct 7, 2007, 3:30:29 AM (15 years ago)
Author:
livings124
Message:

better remaining space check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r3305 r3306  
    486486        uint64_t remainingSpace = [[systemAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue];
    487487       
    488         if (remainingSpace - [self sizeLeft] <= [self size])
     488        if (remainingSpace <= [self sizeLeft])
    489489        {
    490490            NSAlert * alert = [[NSAlert alloc] init];
Note: See TracChangeset for help on using the changeset viewer.