Changeset 812


Ignore:
Timestamp:
Aug 22, 2006, 12:02:44 AM (15 years ago)
Author:
livings124
Message:

Update the message log twice as often, and when quitting set libT to stop calling the method to update the log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r811 r812  
    3030#define LEVEL_DEBUG 2
    3131
    32 #define UPDATE_SECONDS 1.0
     32#define UPDATE_SECONDS 0.5
    3333
    3434@interface MessageWindowController (Private)
    3535
    36 MessageWindowController * selfReference; //I'm not sure why I can't use self directly
     36MessageWindowController * selfReference; //I'm not sure why "self" can't be used directly
    3737
    3838@end
     
    6060{
    6161    [fTimer invalidate];
     62   
     63    tr_setMessageFunction(NULL);
    6264   
    6365    [fLock release];
     
    119121- (void) updateLog: (NSTimer *) timer
    120122{
     123    if ([fBufferArray count] == 0)
     124        return;
     125   
    121126    [fLock lock];
    122127   
Note: See TracChangeset for help on using the changeset viewer.