X-Git-Url: http://winboard.nl/cgi-bin?p=uci2wb.git;a=blobdiff_plain;f=UCI2WB.c;h=856ada312ebbaaf02ce04d6a9da840878a8527c9;hp=2f450e83347244cb35849101983d3ba5f3ef1c9d;hb=2f647898757b6c71ac708056dcc43a09df1c6f3e;hpb=bc61b527999e40d827ec95bd84edaf0090898973 diff --git a/UCI2WB.c b/UCI2WB.c index 2f450e8..856ada3 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -402,10 +402,10 @@ GUI2Engine() oldMem = memory; // we can set other options here if(sc == 'x') { if(newGame) fprintf(toE, "setoption newgame\n"); } else // optional in UCCI - fprintf(toE, "u%cinewgame\n", sc); fflush(toE); pause = 1; // wait for option settings to take effect fprintf(toE, "isready\n"); fflush(toE); Sync(PAUSE); // wait for readyok + fprintf(toE, "u%cinewgame\n", sc); fflush(toE); } else if(!strcmp(command, "usermove")) { sscanf(line, "usermove %s", command); // strips off linefeed