/*
* ngamelist.c -- Game list window, Xt-independent front-end code for XBoard
*
- * Copyright 1995, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ * Copyright 1995, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
* ------------------------------------------------------------------------
*
* GNU XBoard is free software: you can redistribute it and/or modify
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;
MarkMenu("View.GameList", GameListDlg);
}
+FILE *
+GameFile ()
+{
+ return glc ? glc->fp : NULL;
+}
+
void
GameListDestroy ()
{
/* Copy the list into the global memory block */
if( f != NULL ) {
-
+
lg = (ListGame *) gameList.head;
for (nItem = 0; nItem < ((ListGame *) gameList.tailPred)->number; nItem++){
}
return False;
}
-