X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwengineo.c;h=1c3238f5d3ed61d0007c2bad715e3e089fd74092;hb=ca99bd4de57d0b079024cbdf5435de1ae61d5fd9;hp=b56295916d7b0aac4a2440b2750ab8b70dc29685;hpb=bb1c4f8ed2489e4891fe044532a35107d33174d2;p=xboard.git diff --git a/winboard/wengineo.c b/winboard/wengineo.c index b562959..1c3238f 100644 --- a/winboard/wengineo.c +++ b/winboard/wengineo.c @@ -547,7 +547,7 @@ void EngineOutputUpdate( FrontEndProgramStats * stats ) if( clearMemo ) DoClearMemo(which); /* Update */ - lastDepth[which] = depth; + lastDepth[which] = depth == 1 && ed.nodes == 0 ? 0 : depth; // [HGM] info-line kudge lastForwardMostMove[which] = forwardMostMove; if( ed.pv != 0 && ed.pv[0] == ' ' ) { @@ -807,7 +807,8 @@ static void UpdateControls( EngineOutputData * ed ) sprintf( s_time, "%d:%02d.%02d", time_secs / 60, time_secs % 60, time_cent ); /* Put all together... */ - sprintf( buf, "%3d\t%s\t%s\t%s\t", ed->depth, s_score, s_nodes, s_time ); + if(ed->nodes == 0 && ed->score == 0 && ed->time == 0) sprintf( buf, "%3d\t", ed->depth ); else + sprintf( buf, "%3d\t%s\t%s\t%s\t", ed->depth, s_score, s_nodes, s_time ); /* Add PV */ buflen = strlen(buf);