Fix sorting of Engine Output
[xboard.git] / engineoutput.c
index e22df5e..47d3fc1 100644 (file)
@@ -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]);