Changeset 1777


Ignore:
Timestamp:
Apr 23, 2007, 6:49:28 PM (15 years ago)
Author:
livings124
Message:

get error messages working again

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r1724 r1777  
    590590   
    591591    NSRect windowRect = [window frame];
    592     int difference = [view frame].size.height - [[window contentView] frame].size.height;
     592    float difference = [view frame].size.height - [[window contentView] frame].size.height;
    593593    windowRect.origin.y -= difference;
    594594    windowRect.size.height += difference;
  • trunk/macosx/Torrent.m

    r1767 r1777  
    416416        [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
    417417   
    418     if (fStat->error)
     418    if ([self isError])
    419419    {
    420420        [statusString setString: [NSLocalizedString(@"Error: ", "Torrent -> status string") stringByAppendingString:
     
    952952- (BOOL) isError
    953953{
    954     return fStat->error;
     954    return fStat->error != 0;
    955955}
    956956
Note: See TracChangeset for help on using the changeset viewer.