projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6a7b0bc
)
Allow Make Persistent on engine loaded from recent-engine menu
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 12:22:27 +0000 (13:22 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:25 +0000 (16:39 +0100)
This method of loading an engine from the list was not yet recorded
in the currentEngine[] array.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
4f1aad8
..
47b443b
100644
(file)
--- 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]);
}
}