From: H.G. Muller Date: Tue, 11 Oct 2011 20:58:01 +0000 (+0200) Subject: Reset initString and computerString on engine load X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=b883ae78efc493e0fc85a6b0c77c33d8068855b4;p=xboard.git Reset initString and computerString on engine load These options are typically engine specific, and must thus be reset to their default value before loading a new engine. --- diff --git a/backend.c b/backend.c index db03aad..eec214e 100644 --- a/backend.c +++ b/backend.c @@ -879,6 +879,7 @@ extern Boolean isUCI, hasBook, storeVariant, v1, addToList, useNick; static char resetOptions[] = "-reuse -firstIsUCI false -firstHasOwnBookUCI true -firstTimeOdds 1 " + "-firstInitString \"" INIT_STRING "\" -firstComputerString \"" COMPUTER_STRING "\" " "-firstOptions \"\" -firstNPS -1 -fn \"\""; void