Ignore:
Timestamp:
Feb 13, 2008, 7:33:04 PM (14 years ago)
Author:
livings124
Message:

hopefully fix a crash with the open window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r4660 r5030  
    117117        return;
    118118   
    119     NSMutableDictionary * message;
    120119    for (currentMessage = messages; currentMessage != NULL; currentMessage = currentMessage->next)
    121120    {
    122         message  = [NSMutableDictionary dictionaryWithObjectsAndKeys:
    123                     [NSString stringWithUTF8String: currentMessage->message], @"Message",
    124                     [NSDate dateWithTimeIntervalSince1970: currentMessage->when], @"Date",
    125                     [NSNumber numberWithInt: currentMessage->level], @"Level", nil];
     121        NSMutableDictionary * message  = [NSMutableDictionary dictionaryWithObjectsAndKeys:
     122                                        [NSString stringWithUTF8String: currentMessage->message], @"Message",
     123                                        [NSDate dateWithTimeIntervalSince1970: currentMessage->when], @"Date",
     124                                        [NSNumber numberWithInt: currentMessage->level], @"Level", nil];
    126125       
    127126        if (currentMessage->file != NULL)
Note: See TracChangeset for help on using the changeset viewer.