X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.c;fp=engineoutput.c;h=c0f915f7bb88f7b9ab7220375d91eb5e6c33f155;hb=c3e8fae6dad454bdef9887925f541ba466592471;hp=3e9da121a73fbb638d1c1f23ae4b8f0ac391f760;hpb=b0fb776b32289efa0094c197da58827862499eba;p=xboard.git diff --git a/engineoutput.c b/engineoutput.c index 3e9da12..c0f915f 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -231,11 +231,12 @@ SetProgramStats (FrontEndProgramStats * stats) // now directly called by back-en header[which][0] = NULLCHAR; if(gameMode == AnalyzeMode) { ChessProgramState *cps = (which ? &second : &first); + char exclu = cps->excludeMoves ? exclusionHeader : ""; if((multi = MultiPV(cps)) >= 0) { snprintf(header[which], MSG_SIZ, "\t%s viewpoint\t\tfewer / Multi-PV setting = %d / more\n", appData.whitePOV || appData.scoreWhite ? "white" : "mover", cps->option[multi].value); } - if(!which) snprintf(header[which]+strlen(header[which]), MSG_SIZ-strlen(header[which]), "%s%s", exclusionHeader, columnHeader); + if(!which) snprintf(header[which]+strlen(header[which]), MSG_SIZ-strlen(header[which]), "%s%s", exclu, columnHeader); InsertIntoMemo( which, header[which], 0); } else { snprintf(header[which], MSG_SIZ, "%s", columnHeader);