From: H.G. Muller Date: Tue, 14 Jan 2014 21:37:30 +0000 (+0100) Subject: Fix sorting of Engine Output X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=fcc8546ae23f9aed992cd222bb1b9cab6ac642c1;p=xboard.git Fix sorting of Engine Output The moveKey of the top line was never stored, so that more recent lower scores could not pass it even if they had the same move. --- diff --git a/engineoutput.c b/engineoutput.c index e22df5e..47d3fc1 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -421,6 +421,7 @@ InsertionPoint (int len, EngineOutputData *ed) offs = 0; textEnd[n] = offs + len; scores[n] = newScore; + keys[n] = ed->moveKey; } nrVariations[n] += 2; return offs + (gameMode == AnalyzeMode)*strlen(header[ed->which]);