X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xengineoutput.c;h=c7e1e92424830e9d720aa35b91944735a664bd78;hb=1d0d7f60da48fe87c846c32d09f13da67a636948;hp=eea98184160a1960184b3f366bb702b528711549;hpb=b251a5c78eeee842cc0f5984c2b87d832ef7e657;p=xboard.git diff --git a/xengineoutput.c b/xengineoutput.c index eea9818..c7e1e92 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -661,7 +661,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] == ' ' ) { @@ -917,6 +917,7 @@ static void UpdateControls( EngineOutputData * ed ) sprintf( s_time, "%d:%02d.%02d", time_secs / 60, time_secs % 60, time_cent ); /* Put all together... */ + if(ed->nodes == 0 && ed->score == 0 && ed->time == 0) sprintf( buf, "%3d\t", ed->depth ); else sprintf( buf, "%3d %s %s\t%s\t", ed->depth, s_score, s_nodes, s_time ); /* Add PV */