X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.c;h=0a4e46ac404d26316df0ed38ebd7ced183e59686;hb=38fcbc993ebe30afcfd6a554cad85873fdd0f9c0;hp=78117a7bfd07e885f9fa955b36bfdd90ba051f81;hpb=9bc5b6e6ca1e15a01cd9406322ad4fc93a45adc8;p=xboard.git diff --git a/engineoutput.c b/engineoutput.c index 78117a7..0a4e46a 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -84,6 +84,8 @@ void MakeEngineOutputTitle() static char oldTitle[MSG_SIZ]; char *title = "Engine Output"; int count, rule = 2*appData.ruleMoves; + + if(!EngineOutputIsUp()) return; // figure out value of 50-move counter count = currentMove; while( (signed char)boards[count][EP_STATUS] <= EP_NONE && count > backwardMostMove ) count--;