+char *
+MakeEvalTitle (char *title)
+{
+ int score, depth;
+ static char buf[MSG_SIZ];
+
+ if( currCurrent <0 ) return title; // currCurrent = -1 crashed WB on start without ini file!
+ score = currPvInfo[ currCurrent ].score;
+ depth = currPvInfo[ currCurrent ].depth;
+
+ if( depth <=0 ) return title;
+ if( currCurrent & 1 ) score = -score; /* Flip score for black */
+ 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;
+}
+