From: H.G. Muller Date: Thu, 3 Nov 2011 16:07:46 +0000 (+0100) Subject: Increase number of games retained in history to 40 X-Git-Url: http://winboard.nl/cgi-bin?p=capablanca.git;a=commitdiff_plain;h=57605f256cf471385c85ba69168154cc0abc8af9 Increase number of games retained in history to 40 Unfortunately this parameter is hard-coded in the server. --- diff --git a/lasker-2.2.3/src/gamedb.c b/lasker-2.2.3/src/gamedb.c index 0d1223f..82eef2e 100644 --- a/lasker-2.2.3/src/gamedb.c +++ b/lasker-2.2.3/src/gamedb.c @@ -1652,10 +1652,10 @@ void game_write_complete(int g, int isDraw, char *EndSymbol) sprintf(fname, "%s/player_data/%c/%s.%s", STATS_DIR, player_globals.parray[wp].login[0], player_globals.parray[wp].login, STATS_GAMES); - write_g_out(g, fname, 10, isDraw, EndSymbol, player_globals.parray[wp].name, &now); + write_g_out(g, fname, 40, isDraw, EndSymbol, player_globals.parray[wp].name, &now); sprintf(fname, "%s/player_data/%c/%s.%s", STATS_DIR, player_globals.parray[bp].login[0], player_globals.parray[bp].login, STATS_GAMES); - write_g_out(g, fname, 10, isDraw, EndSymbol, player_globals.parray[bp].name, &now); + write_g_out(g, fname, 40, isDraw, EndSymbol, player_globals.parray[bp].name, &now); if (isDraw) Result = -1;