From: H.G.Muller Date: Fri, 13 Jan 2017 12:22:27 +0000 (+0100) Subject: Allow Make Persistent on engine loaded from recent-engine menu X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6af61ce31b024cb65ba65e3b22586bc12839915d;hp=6a7b0bcfb46092809ac826bf99652b9bce5d9a10;p=xboard.git Allow Make Persistent on engine loaded from recent-engine menu This method of loading an engine from the list was not yet recorded in the currentEngine[] array. --- diff --git a/backend.c b/backend.c index 4f1aad8..47b443b 100644 --- a/backend.c +++ b/backend.c @@ -11449,6 +11449,7 @@ RecentEngineEvent (int nr) if(mnemonic[n]) { // if somehow the engine with the selected nickname is no longer found in the list, we skip ReplaceEngine(&first, 0); FloatToFront(&appData.recentEngineList, command[n]); + ASSIGN(currentEngine[0], command[n]); } }