X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwgamelist.c;h=06a9f7f3004ed92e87345fb94860d5583c0a03a1;hb=99a5932b83ff73fec361f526ee95140c4c376465;hp=3c13ae61e2fd893483476df6323a2b4ea006bdb0;hpb=d413d3ed517beac460ae9ed147e6200a57125bb5;p=xboard.git diff --git a/winboard/wgamelist.c b/winboard/wgamelist.c index 3c13ae6..06a9f7f 100644 --- a/winboard/wgamelist.c +++ b/winboard/wgamelist.c @@ -41,6 +41,8 @@ #include "wsnap.h" #include "wgamelist.h" +extern BoardSize boardSize; + /* Module globals */ HWND gameListDialog = NULL; BOOLEAN gameListUp = FALSE; @@ -224,6 +226,9 @@ GameListDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) /* Initialize the dialog items */ hwndText = GetDlgItem(hDlg, OPT_TagsText); + /* Set font */ + SendDlgItemMessage( hDlg, OPT_GameListText, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 )); + count = GameListToListBox( hDlg, gameListDialog ? TRUE : FALSE, NULL, &stats ); SendDlgItemMessage( hDlg, IDC_GameListFilter, WM_SETTEXT, 0, (LPARAM) "" );