X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gamelist.c;h=26268399cacadd5df21e43c4d7a47e5667188199;hb=4d04bc8a6c2d5e410d519b25164613c5e5c2d160;hp=c200251c925daf431bc3b41a9e151fc0f00b8eb4;hpb=b382d988c6f886f3a49483df9e3e36de0b6b0824;p=xboard.git diff --git a/gamelist.c b/gamelist.c index c200251..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; @@ -496,7 +500,6 @@ char * GameListLineFull( int number, GameInfo * gameInfo ) return ret; } - // --------------------------------------- Game-List options dialog -------------------------------------- // back-end