X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwengineo.c;h=d10f3d9ab0dd02c127d75e9bcea4c52f8232ad71;hb=9ee62d95780e76fa6cfc8abc7986e9f3c28868fd;hp=ff7b3b1b4d49f076f21256a8a1a155a981c63a44;hpb=3d16e2d70d1ccb3238e09f721a75b79368982546;p=xboard.git diff --git a/winboard/wengineo.c b/winboard/wengineo.c index ff7b3b1..d10f3d9 100644 --- a/winboard/wengineo.c +++ b/winboard/wengineo.c @@ -78,6 +78,8 @@ extern HWND hwndMain; extern WindowPlacement wpEngineOutput; +extern BoardSize boardSize; + /* Module variables */ #define H_MARGIN 2 #define V_MARGIN 2 @@ -339,6 +341,10 @@ LRESULT CALLBACK EngineOutputProc( HWND hDlg, UINT message, WPARAM wParam, LPARA ResizeWindowControls( hDlg, windowMode ); + /* Set font */ + SendDlgItemMessage( engineOutputDialog, IDC_EngineMemo1, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 )); + SendDlgItemMessage( engineOutputDialog, IDC_EngineMemo2, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 )); + SetEngineState( 0, STATE_IDLE, "" ); SetEngineState( 1, STATE_IDLE, "" ); }