X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xgamelist.c;h=46200c50a6197231c39ef22c779021b5f2394a37;hb=0370d2ff673ad5bf2ada84787fdd6b20b41c831c;hp=4f86718df7f02f3fa601f2ecb7f07d2d6dcdc8c1;hpb=fb6556cba3193316b2b383c7fc0e0cdd1c75e9fd;p=xboard.git diff --git a/xgamelist.c b/xgamelist.c index 4f86718..46200c5 100644 --- a/xgamelist.c +++ b/xgamelist.c @@ -408,12 +408,16 @@ GameListCallback(w, client_data, call_data) 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