From: H.G. Muller Date: Wed, 21 Oct 2009 01:57:17 +0000 (-0700) Subject: fix for bug #27667: PV line missing in analysis window, part 3 X-Git-Tag: v4.4.1.20091022~13 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=585ec3ba5393b7436690ebb352017a2808bcadad;p=xboard.git fix for bug #27667: PV line missing in analysis window, part 3 "3. Wish for Engine state string (right to the icon): Can you add the actual search depth in analyzing mode? A change like " I also added the requested display of depth of the analysis move in the EngineOutput window. I guess a similar change could be made to wengineo.c (as this is in the code they share in common), but no one ever requested that in the 5 years since Alessandro wrote it. So for now I leave it alone. --- diff --git a/xengineoutput.c b/xengineoutput.c index 01cc622..2df13d3 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -851,7 +851,8 @@ static void UpdateControls( EngineOutputData * ed ) strncpy( mov, ed->hint, sizeof(mov) ); mov[ sizeof(mov)-1 ] = '\0'; - sprintf( buf, "%d/%d: %s [%02d:%02d:%02d]", ed->an_move_index, ed->an_move_count, mov, time_mins / 60, time_mins % 60, time_secs % 60 ); + sprintf( buf, "[%d] %d/%d: %s [%02d:%02d:%02d]", ed->depth, ed->an_move_index, + ed->an_move_count, mov, time_mins / 60, time_mins % 60, time_secs % 60 ); } SetEngineState( ed->which, STATE_ANALYZING, buf );