Ignore:
Timestamp:
Sep 3, 2006, 4:16:35 PM (16 years ago)
Author:
livings124
Message:

Only update peer table when it's visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r840 r841  
    3939    if ((self = [super initWithWindowNibName: name]))
    4040    {
    41         NSMutableParagraphStyle * paragraph = [[NSMutableParagraphStyle defaultParagraphStyle] mutableCopy];
     41        NSMutableParagraphStyle * paragraph = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
    4242        [paragraph setHeadIndent: 20.0];
    4343       
     
    8888{
    8989    tr_msg_list_t * messages, * currentMessage;
    90     if (!(messages = tr_getQueuedMessages()))
     90    if ((messages = tr_getQueuedMessages()) == NULL)
    9191        return;
    9292   
Note: See TracChangeset for help on using the changeset viewer.