projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7ef5869
)
Fix sorting of Engine Output
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 14 Jan 2014 21:37:30 +0000 (22:37 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 18 Jan 2014 23:00:34 +0000 (
00:00
+0100)
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
patch
|
blob
|
history
diff --git
a/engineoutput.c
b/engineoutput.c
index
af121d6
..
714873d
100644
(file)
--- 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]);