projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
114d6ef
)
Put move number in Eval Graph title
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 9 Feb 2012 12:04:44 +0000 (13:04 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 9 Feb 2012 12:04:44 +0000 (13:04 +0100)
evalgraph.c
patch
|
blob
|
history
diff --git
a/evalgraph.c
b/evalgraph.c
index
7a18151
..
9c26897
100644
(file)
--- a/
evalgraph.c
+++ b/
evalgraph.c
@@
-102,7
+102,8
@@
MakeEvalTitle (char *title)
if( depth <=0 ) return title;
if( currCurrent & 1 ) score = -score; /* Flip score for black */
- snprintf(buf, MSG_SIZ, "%s {%s%.2f/%-2d %d}", title, score>0 ? "+" : " ", score/100., depth, (currPvInfo[currCurrent].time+50)/100);
+ snprintf(buf, MSG_SIZ, "%s {%d: %s%.2f/%-2d %d}", title, currCurrent/2+1,
+ score>0 ? "+" : " ", score/100., depth, (currPvInfo[currCurrent].time+50)/100);
return buf;
}