X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=uci.c;h=1f39f6a84112cf9ce003915fe8a7fe54daea0d44;hb=407cd1126c6c24d890359f1fe1686f6d90c0ad61;hp=f78fb2c0473ae50e5a5cd14a72700dc575c87575;hpb=7b1579c574c06f880cc6c01874416dde0374aab6;p=xboard.git diff --git a/uci.c b/uci.c index f78fb2c..1f39f6a 100644 --- a/uci.c +++ b/uci.c @@ -36,6 +36,7 @@ void InitEngineUCI( const char * iniDir, ChessProgramState * cps ) char *p, *q; char polyglotCommand[MSG_SIZ]; + if(cps->isUCI == 2) p = appData.ucciAdapter; else p = appData.adapterCommand; q = polyglotCommand; while(*p) {