From 30ff596d02fea83b3f303273077eccdd02dc928c 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 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]); -- 1.7.0.4