From: H.G.Muller Date: Thu, 2 Nov 2017 11:14:13 +0000 (+0100) Subject: Pay attention to dont-add-to-list checkbox again X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=5d34e50444d0107bfe7d10ea2a38b003d130df24 Pay attention to dont-add-to-list checkbox again Although it is questionable whether this checkbox will remain in the log run, as long as it is there we better obey it. --- diff --git a/backend.c b/backend.c index 0e0a5b8..0328a58 100644 --- a/backend.c +++ b/backend.c @@ -952,6 +952,7 @@ SaveEngineList () void AddToEngineList (int i) { + if(addToList) { int len; char quote, buf[MSG_SIZ]; char *q = firstChessProgramNames, *p = newEngineCommand; @@ -975,6 +976,7 @@ AddToEngineList (int i) SaveEngineList(); FloatToFront(&appData.recentEngineList, buf); ASSIGN(currentEngine[i], buf); + } } void