X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xengineoutput.c;h=54c885935508482273c0e549c7e3a9ed3905ca37;hb=e89d9e93fcf2bdfc9ff8c76778a920a61436b44b;hp=7a0b5bcf72ccbf7add5733e39f8543487fd451ba;hpb=b80a07a436b0211145c915a7d79bf7c41ae891e4;p=xboard.git diff --git a/xengineoutput.c b/xengineoutput.c index 7a0b5bc..54c8859 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -917,8 +917,8 @@ 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) /*sprintf( buf, "%3d\t \t \t \t", ed->depth );*/ buf[0]=0; else - 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 %s %s\t%s\t", ed->depth, s_score, s_nodes, s_time ); /* Add PV */ buflen = strlen(buf);