Changeset 6888


Ignore:
Timestamp:
Oct 12, 2008, 9:39:12 PM (13 years ago)
Author:
livings124
Message:

missed one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileOutlineController.m

    r6887 r6888  
    353353        BOOL current = NO, canChange = NO;
    354354        NSIndexSet * fileIndexSet;
    355         for (NSInteger i = [indexSet firstIndex]; i != NSNotFound && !current; i = [indexSet indexGreaterThanIndex: i])
     355        for (NSInteger i = [indexSet firstIndex]; i != NSNotFound; i = [indexSet indexGreaterThanIndex: i])
    356356        {
    357357            fileIndexSet = [[fOutline itemAtRow: i] indexes];
     
    361361            canChange = YES;
    362362            if ([fTorrent hasFilePriority: priority forIndexes: fileIndexSet])
     363            {
    363364                current = YES;
     365                break;
     366            }
    364367        }
    365368       
Note: See TracChangeset for help on using the changeset viewer.