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