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=30ff596d02fea83b3f303273077eccdd02dc928c;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 af121d6..714873d 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -427,6 +427,7 @@ InsertionPoint (int len, EngineOutputData *ed) offs = 0; textEnd[n] = offs + len; scores[n] = newScore; + keys[n] = ed->moveKey; } nrVariations[n] += 2; return offs + strlen(header[ed->which]);