X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gamelist.c;h=26268399cacadd5df21e43c4d7a47e5667188199;hb=09b61995c50278b6a11a159a54d24ea38ac88e87;hp=4e57cb34bee4fc65eaf1338644e2899050956b19;hpb=ca63c52d91e298f2b7d70535b8e5a923e4f956ac;p=xboard.git diff --git a/gamelist.c b/gamelist.c index 4e57cb3..2626839 100644 --- a/gamelist.c +++ b/gamelist.c @@ -214,7 +214,7 @@ int GameListBuild(f) ListGame *currentListGame = NULL; int error; int offset; - char lastComment[MSG_SIZ]; + char lastComment[MSG_SIZ], buf[MSG_SIZ]; GameListFree(&gameList); yynewfile(f); @@ -316,10 +316,13 @@ int GameListBuild(f) default: break; } + if(gameNumber % 1000 == 0) { + snprintf(buf, MSG_SIZ,"Reading game file (%d)", gameNumber); + DisplayTitle(buf); + } } while (cm != (ChessMove) 0); - if (appData.debugMode) { for (currentListGame = (ListGame *) gameList.head; currentListGame->node.succ; @@ -331,6 +334,7 @@ int GameListBuild(f) } } + DisplayTitle("WinBoard"); rewind(f); yyskipmoves = FALSE; return 0;