X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=293f7818cf837dc1719209146f107318d7f92df4;hb=434e83abf93ec88caffddb95ad15d03df27b984b;hp=4c96479e8c357dc31b17009e2ba620ef0c5ed7d1;hpb=3b5c8a9ed7061c6aff8f897a74be47b853360163;p=xboard.git diff --git a/xboard.c b/xboard.c index 4c96479..293f781 100644 --- a/xboard.c +++ b/xboard.c @@ -2907,24 +2907,6 @@ ModeHighlight () /* * Button/menu procedures */ -int -LoadGamePopUp (FILE *f, int gameNumber, char *title) -{ - cmailMsgLoaded = FALSE; - if (gameNumber == 0) { - int error = GameListBuild(f); - if (error) { - DisplayError(_("Cannot build game list"), error); - } else if (!ListEmpty(&gameList) && - ((ListGame *) gameList.tailPred)->number > 1) { - GameListPopUp(f, title); - return TRUE; - } - GameListDestroy(); - gameNumber = 1; - } - return LoadGame(f, gameNumber, title, FALSE); -} /* this variable is shared between CopyPositionProc and SendPositionSelection */ char *selected_fen_position=NULL;