X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.c;h=9cd75483a797591fdbd902066dfcc38f15c4e54c;hb=1d4d9cd9be0e8b7986128e0480ecef3ad3a45933;hp=59bff2fec9c809c1ab5f3d69b2be15c7eeeaca92;hpb=a7ba1da07dbc23fe0e310d51b7bdf2d2a1bc1004;p=xboard.git diff --git a/engineoutput.c b/engineoutput.c index 59bff2f..9cd7548 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -102,10 +102,11 @@ void MakeEngineOutputTitle() while( (signed char)boards[count][EP_STATUS] <= EP_NONE && count > backwardMostMove ) count--; if( count == backwardMostMove ) count -= initialRulePlies; count = currentMove - count; - snprintf(buf, MSG_SIZ, "%s (%d reversible plies)", title, count); if(!rule) rule = 100; - if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) - safeStrCpy(title, buf, MSG_SIZ); + if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) { + snprintf(buf, MSG_SIZ, _("%s (%d reversible plies)"), title, count); + safeStrCpy(title, buf, MSG_SIZ); + } if(!strcmp(oldTitle, title)) return; safeStrCpy(oldTitle, title, MSG_SIZ); SetEngineOutputTitle(title);