X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=ngamelist.c;h=cf937ac1fec6ca99f04aceaf909122930b4aef47;hb=7db250c6cdb5845ac9b448c1e7fda8da7e04db04;hp=058b4c8e71dda92850e993b228d975cca98f19cf;hpb=a009a27e8c1e0bfa818f12fdcae675d0babc510a;p=xboard.git diff --git a/ngamelist.c b/ngamelist.c index 058b4c8..cf937ac 100644 --- a/ngamelist.c +++ b/ngamelist.c @@ -195,7 +195,7 @@ GameListPrepare (int byPos, int narrow) lg->position = pos; lg = (ListGame *) lg->node.succ; } -GetTimeMark(&t2);printf("GameListPrepare %ld msec\n", SubtractTimeMarks(&t2,&t)); + if(appData.debugMode) { GetTimeMark(&t2);printf("GameListPrepare %ld msec\n", SubtractTimeMarks(&t2,&t)); } DisplayTitle("XBoard"); *st = NULL; return listLength; @@ -358,7 +358,7 @@ SaveGameListAsText (FILE *f) /* Copy the list into the global memory block */ if( f != NULL ) { - + lg = (ListGame *) gameList.head; for (nItem = 0; nItem < ((ListGame *) gameList.tailPred)->number; nItem++){ @@ -375,4 +375,3 @@ SaveGameListAsText (FILE *f) } return False; } -