X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gamelist.c;h=a96aeca5f817f5294e2aad51753ee1dbd62e8907;hb=2bb8f1b3835d5796314e219cd8da1bf549d48a27;hp=c8bdc4e5b2b19f84be8d282aa4d9e16edc64e728;hpb=1c03d229073e56dda9e5856db5adaae51576a3bb;p=xboard.git diff --git a/gamelist.c b/gamelist.c index c8bdc4e..a96aeca 100644 --- a/gamelist.c +++ b/gamelist.c @@ -305,7 +305,7 @@ GameListBuild (FILE *f) } while (cm == PGNTag || cm == Comment); if(1) { int btm=0; - if(currentListGame->gameInfo.fen) ParseFEN(boards[scratch], &btm, currentListGame->gameInfo.fen); + if(currentListGame->gameInfo.fen) ParseFEN(boards[scratch], &btm, currentListGame->gameInfo.fen, FALSE); else CopyBoard(boards[scratch], initialPosition); plyNr = (btm != 0); currentListGame->moves = PackGame(boards[scratch]); @@ -392,7 +392,7 @@ GameListBuild (FILE *f) } } } -GetTimeMark(&t2);printf("GameListBuild %ld msec\n", SubtractTimeMarks(&t2,&t)); + if(appData.debugMode) { GetTimeMark(&t2);printf("GameListBuild %ld msec\n", SubtractTimeMarks(&t2,&t)); } quickFlag = 0; PackGame(boards[scratch]); // for appending end-of-game marker. DisplayTitle("WinBoard");