From: H.G.Muller Date: Fri, 2 Dec 2016 08:09:18 +0000 (+0100) Subject: Also allow Make Persist on engines loaded through -fe / -se X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=d1638304f504ca6cbfa36eb7a951b530f374bd10 Also allow Make Persist on engines loaded through -fe / -se The options -fe and -se are another way to select engines from the list, and MakePersistent should also work in this case. So the engine lines retrieved for the given nicks are now also remembered. --- diff --git a/backend.c b/backend.c index 6e1da23..3792971 100644 --- a/backend.c +++ b/backend.c @@ -11343,6 +11343,7 @@ GetEngineLine (char *s, int n) if(n == 1) SwapEngines(n); ParseArgsFromString(buf); if(n == 1) SwapEngines(n); + if(n < 2) { ASSIGN(currentEngine[n], command[i]); } if(n == 0 && *appData.secondChessProgram == NULLCHAR) { SwapEngines(1); // set second same as first if not yet set (to suppress WB startup dialog) ParseArgsFromString(buf);