X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=uci.c;fp=uci.c;h=1f39f6a84112cf9ce003915fe8a7fe54daea0d44;hb=36aefa2380480aa22c30c0a8c02a02fb961d600f;hp=f78fb2c0473ae50e5a5cd14a72700dc575c87575;hpb=5a0607f180d86de11f7aa5764d02453687266d87;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) {