Changeset 408


Ignore:
Timestamp:
Jun 20, 2006, 3:08:46 AM (15 years ago)
Author:
livings124
Message:

Simplify resizing a little.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r407 r408  
    318318- (NSRect) windowWillUseStandardFrame: (NSWindow *) window defaultFrame: (NSRect) defaultFrame
    319319{
    320     NSPoint windowOrigin = [window frame].origin;
    321     NSSize minSize = [window minSize];
    322    
    323     return NSMakeRect(windowOrigin.x, windowOrigin.y, minSize.width, minSize.height);
     320    NSRect windowRect = [window frame];
     321    windowRect.size.width = [window minSize].width;
     322   
     323    return windowRect;
    324324}
    325325
Note: See TracChangeset for help on using the changeset viewer.