From 57cba90cd1717874d032c4cc8464b14fb8f9ba36 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 22 Feb 2012 19:58:41 +0100 Subject: [PATCH] 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 _(). --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.0.4