From fcc8546ae23f9aed992cd222bb1b9cab6ac642c1 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 14 Jan 2014 22:37:30 +0100 Subject: [PATCH] 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. --- engineoutput.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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]); -- 1.7.0.4