X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwhistory.c;h=60af89848a57307744a706a23f96d12e7c8b7ab1;hb=70ce586b8f06a35ee1eaf5e6202a01d1718c7311;hp=bab9332b9271083356f0fcd1f51b819251f394a9;hpb=29df666d997ad990de5376c962b154b26eb73f2f;p=xboard.git diff --git a/winboard/whistory.c b/winboard/whistory.c index bab9332..60af898 100644 --- a/winboard/whistory.c +++ b/winboard/whistory.c @@ -53,6 +53,8 @@ extern HWND hwndMain; extern WindowPlacement wpMoveHistory; +extern BoardSize boardSize; + /* Module globals */ typedef char MoveHistoryString[ MOVE_LEN*2 ]; @@ -302,6 +304,9 @@ LRESULT CALLBACK HistoryDialogProc( HWND hDlg, UINT message, WPARAM wParam, LPAR SendDlgItemMessage( moveHistoryDialog, IDC_MoveHistory, EM_SETEVENTMASK, 0, ENM_MOUSEEVENTS ); + /* Set font */ + SendDlgItemMessage( moveHistoryDialog, IDC_MoveHistory, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 )); + /* Restore window placement */ RestoreWindowPlacement( hDlg, &wpMoveHistory ); }