From 1d4d9cd9be0e8b7986128e0480ecef3ad3a45933 Mon Sep 17 00:00:00 2001 From: Byrial Jensen Date: Thu, 22 Dec 2011 15:01:31 +0100 Subject: [PATCH] One more string marked for translation And it is moved inside the if statement that uses it. --- engineoutput.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) 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); -- 1.7.0.4