X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwgamelist.c;h=863725a71ce63413dc3262cedbc691e158cd89e9;hb=bf07cc0c5232c7cd486fab118defa0815ff89183;hp=80ce9b67f23a75e276cbd37c9e80631e50efff10;hpb=9354baee3c9eba033d4d443e01469baea53295ae;p=xboard.git diff --git a/winboard/wgamelist.c b/winboard/wgamelist.c index 80ce9b6..863725a 100644 --- a/winboard/wgamelist.c +++ b/winboard/wgamelist.c @@ -166,7 +166,7 @@ GameListDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) hwndText = GetDlgItem(hDlg, OPT_TagsText); /* Set font */ - SendDlgItemMessage( hDlg, OPT_GameListText, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 )); + SendDlgItemMessage( hDlg, OPT_GameListText, WM_SETFONT, (WPARAM)font[boardSize][GAMELIST_FONT]->hf, MAKELPARAM(TRUE, 0 )); count = GameListToListBox( hDlg, gameListDialog ? TRUE : FALSE, NULL, &stats ); @@ -208,6 +208,7 @@ GameListDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) } GameListUpdateTitle( hDlg, _("Game List"), count, ((ListGame *) gameList.tailPred)->number, &stats ); // [HGM] always update title + GameListHighlight(lastLoadGameNumber); return FALSE; case WM_SIZE: