Redo spacing on general prefs a little.

This commit is contained in:
Mitchell Livingston
2006-07-22 17:08:54 +00:00
parent d25466eefc
commit 8226ef9d50
3 changed files with 5 additions and 5 deletions

View File

@@ -2129,10 +2129,8 @@ static void sleepCallBack(void * controller, io_service_t y,
- (void) setWindowSizeToFit
{
if (![fDefaults boolForKey: @"AutoSize"])
return;
[fWindow setFrame: [self windowFrameFor: [fTorrents count]] display: YES animate: YES];
if ([fDefaults boolForKey: @"AutoSize"])
[fWindow setFrame: [self windowFrameFor: [fTorrents count]] display: YES animate: YES];
}
- (NSRect) windowFrameFor: (int) count