void
AddToEngineList (int i)
{
+ if(addToList) {
int len;
char quote, buf[MSG_SIZ];
char *q = firstChessProgramNames, *p = newEngineCommand;
SaveEngineList();
FloatToFront(&appData.recentEngineList, buf);
ASSIGN(currentEngine[i], buf);
+ }
}
void
cps->useSigterm = FALSE;
}
if (strncmp(message, "feature ", 8) == 0) { // [HGM] moved forward to pre-empt non-compliant commands
- ParseFeatures(message+8, cps); if(tryNr < 3) tryNr = 3;
+ ParseFeatures(message+8, cps); if(tryNr && tryNr < 3) tryNr = 3;
return; // [HGM] This return was missing, causing option features to be recognized as non-compliant commands!
}