X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwgamelist.c;h=9d15fa19ba222f42c20bfaf240e352324bf2da38;hb=97965726a44d7b9354cfb2b69554ea8af327a1f7;hp=c5a25f59daf2ccd6cedce854e733fd258947a901;hpb=d9f4b584106f4d7477158476ff792f6fa0b2630a;p=xboard.git diff --git a/winboard/wgamelist.c b/winboard/wgamelist.c index c5a25f5..9d15fa1 100644 --- a/winboard/wgamelist.c +++ b/winboard/wgamelist.c @@ -91,6 +91,11 @@ static int GameListToListBox( HWND hDlg, BOOL boReset, char * pszFilter, struct BOOL skip = FALSE; int pos = -1; + if(nItem % 2000 == 0) { + snprintf(buf, MSG_SIZ, _("Scanning through games (%d)"), nItem); + SetWindowText(hwndMain, buf); + } + if( hasFilter ) { st = GameListLine(lg->number, &lg->gameInfo); if( !SearchPattern( st, pszFilter) ) skip = TRUE; @@ -123,6 +128,7 @@ static int GameListToListBox( HWND hDlg, BOOL boReset, char * pszFilter, struct } SendDlgItemMessage(hDlg, OPT_GameListText, LB_SETCURSEL, 0, 0); + SetWindowText(hwndMain, "WinBoard"); return count; }