X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gamelist.c;h=0c2f1b6d4705866179078319aeb26c4fe6f4a023;hb=42725c6bc7db8d2e3300d8b00cd71c0a579f8e2d;hp=2fc521127b661b56505010a266cf87ab489b8cab;hpb=4e062d14429ed3a3a251c971690bade4c8cba946;p=xboard.git diff --git a/gamelist.c b/gamelist.c index 2fc5211..0c2f1b6 100644 --- a/gamelist.c +++ b/gamelist.c @@ -1,7 +1,7 @@ /* * gamelist.c -- Functions to manage a gamelist * - * Copyright 1995, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * Copyright 1995, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -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"); @@ -672,4 +672,3 @@ GLT_ParseList () idx++; } while( id != '\0' ); } -