Changeset 9703


Ignore:
Timestamp:
Dec 10, 2009, 5:28:45 AM (12 years ago)
Author:
livings124
Message:

one more tweak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r9702 r9703  
    159159    [fLock lock];
    160160   
    161     NSUInteger currentIndex = [fMessages count] > 0 ? [[[fMessages lastObject] objectForKey: @"Index"] unsignedIntegerValue] : 0;
     161    NSUInteger currentIndex = [fMessages count] > 0 ? ([[[fMessages lastObject] objectForKey: @"Index"] unsignedIntegerValue] + 1) : 0;
    162162   
    163163    NSScroller * scroller = [[fMessageTable enclosingScrollView] verticalScroller];
Note: See TracChangeset for help on using the changeset viewer.