Reopening the gamelist should highlight the current game.
extern ChessSquare gatingPiece;
extern List gameList;
+extern int lastLoadGameNumber;
void ClearGameInfo P((GameInfo *));
int GameListBuild P((FILE *));
void GameListInitGameInfo P((GameInfo *));
\r
}\r
GameListUpdateTitle( hDlg, _("Game List"), count, ((ListGame *) gameList.tailPred)->number, &stats ); // [HGM] always update title\r
+ GameListHighlight(lastLoadGameNumber);\r
return FALSE;\r
\r
case WM_SIZE:\r
XtSetArg(args[j], XtNleftBitmap, xMarkPixmap); j++;
XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Game List"),
args, j);
+ GameListHighlight(lastLoadGameNumber);
}
void