From: H.G. Muller Date: Thu, 9 Feb 2012 12:04:44 +0000 (+0100) Subject: Put move number in Eval Graph title X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=11125ebf28eef6ee3b4f5af85bac1c20835e3ada;p=xboard.git Put move number in Eval Graph title --- diff --git a/evalgraph.c b/evalgraph.c index 7a18151..9c26897 100644 --- 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; }