From 14dfd6a519e8180e1505c32a36527d7662d9e008 Mon Sep 17 00:00:00 2001 From: Mark Ioli Date: Wed, 24 Jun 2009 23:07:23 -0700 Subject: [PATCH] enabled a patch for default settings in winboard --- winboard/winboard.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index c7fad66..813445b 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -8115,14 +8115,12 @@ ConsoleWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) wp.rcNormalPosition.bottom = wpConsole.y + wpConsole.height; SetWindowPlacement(hDlg, &wp); } -#if 0 - // [HGM] Chessknight's change 2004-07-13 else { /* Determine Defaults */ WINDOWPLACEMENT wp; wpConsole.x = winWidth + 1; wpConsole.y = boardY; - wpConsoleW = screenWidth - winWidth; - wpConsoleH = winHeight; + wpConsole.width = screenWidth - winWidth; + wpConsole.height = winHeight; EnsureOnScreen(&wpConsole.x, &wpConsole.y, 0, 0); wp.length = sizeof(WINDOWPLACEMENT); wp.flags = 0; @@ -8134,7 +8132,6 @@ ConsoleWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) wp.rcNormalPosition.bottom = wpConsole.y + wpConsole.height; SetWindowPlacement(hDlg, &wp); } -#endif return FALSE; case WM_SETFOCUS: -- 1.7.0.4