From: H.G. Muller Date: Wed, 22 Feb 2012 18:58:41 +0000 (+0100) Subject: Undo translation of cps->which = first/second X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=57cba90cd1717874d032c4cc8464b14fb8f9ba36;p=xboard.git Undo translation of cps->which = first/second The string in cps->which should not be translated, because it goes into the debug file to label engine I/O, and many tools for processing debug files (broadcasters, PGN extractors) rely on this being "first" or "second". In all contexts where "first" and "second" need to be translated, cps->which itself is already enclosed in _(). --- diff --git a/backend.c b/backend.c index 59103ed..9b0fb08 100644 --- a/backend.c +++ b/backend.c @@ -748,7 +748,7 @@ InitEngine (ChessProgramState *cps, int n) ClearOptions(cps); - cps->which = _(engineNames[n]); + cps->which = engineNames[n]; cps->maybeThinking = FALSE; cps->pr = NoProc; cps->isr = NULL;