X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.c;h=2b82948ae715723d6060056f2366b7dd4b5cf9ae;hb=c082824a507c0fb577beb908ed5615a161c6c6fa;hp=35f3c690b0c17d03af189fa7ba9773396b63ff04;hpb=2d64eed6cbca4b6c81c31bbc9471fa6f08312cea;p=xboard.git diff --git a/engineoutput.c b/engineoutput.c index 35f3c69..2b82948 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -220,10 +220,13 @@ SetProgramStats (FrontEndProgramStats * stats) // now directly called by back-en if( clearMemo ) { DoClearMemo(which); nrVariations[which] = 0; header[0] = NULLCHAR; - if(gameMode == AnalyzeMode && (multi = MultiPV(&first)) >= 0) { + if(gameMode == AnalyzeMode) { + if((multi = MultiPV(&first)) >= 0) { snprintf(header, MSG_SIZ, "\t%s viewpoint\t\tfewer / Multi-PV setting = %d / more\n", appData.whitePOV || appData.scoreWhite ? "white" : "mover", first.option[multi].value); - InsertIntoMemo( which, header, 0); + } + snprintf(header+strlen(header), MSG_SIZ-strlen(header), exclusionHeader); + InsertIntoMemo( which, header, 0); } else if(appData.ponderNextMove && lastLine[which][0]) { InsertIntoMemo( which, lastLine[which], 0 );