Changeset 9408


Ignore:
Timestamp:
Oct 25, 2009, 9:31:01 PM (13 years ago)
Author:
livings124
Message:

we should use the size of the array that we're actually using

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r9407 r9408  
    332332    {
    333333        //create the text to output
    334         NSMutableArray * messageStrings = [NSMutableArray arrayWithCapacity: [fMessages count]];
     334        NSMutableArray * messageStrings = [NSMutableArray arrayWithCapacity: [messages count]];
    335335        for (NSDictionary * message in messages)
    336336            [messageStrings addObject: [self stringForMessage: message]];
Note: See TracChangeset for help on using the changeset viewer.