From 585ec3ba5393b7436690ebb352017a2808bcadad Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 20 Oct 2009 18:57:17 -0700 Subject: [PATCH] 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. --- xengineoutput.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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 ); -- 1.7.0.4