void SetFocus P((Widget w, XtPointer data, XEvent *event, Boolean *b));
-extern Widget formWidget, shellWidget, boardWidget, menuBarWidget, gameListShell;
-extern Display *xDisplay;
-extern int squareSize;
-extern Pixmap xMarkPixmap;
-extern char *layoutName;
-
static Widget filterText;
static char filterString[MSG_SIZ];
static int listLength;
} GameListClosure;
static GameListClosure *glc = NULL;
-static Arg layoutArgs[] = {
- { XtNborderWidth, 0 },
- { XtNdefaultDistance, 0 }
-};
-
Widget
GameListCreate(name, callback, client_data)
char *name;
if(GameListPrepare()) GameListReplace(); // crashes on empty list...
return;
}
+#if 0
index = atoi(glc->strings[index])-1; // [HGM] filter: read true index from sequence nr of line
if (cmailMsgLoaded) {
CmailLoadGame(glc->fp, index + 1, glc->filename, True);
} else {
LoadGame(glc->fp, index + 1, glc->filename, True);
}
+#else
+ printf("This code should have been unreachable. Please report bug!\n");
+#endif
}
void