From: Mark Ioli Date: Thu, 25 Jun 2009 06:07:23 +0000 (-0700) Subject: enabled a patch for default settings in winboard X-Git-Tag: v4.4.0.alpha7~2 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=14dfd6a519e8180e1505c32a36527d7662d9e008;p=xboard.git enabled a patch for default settings in winboard --- 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: