From bf26f1b3ef29a518e1ee9f71c42c9cf344d2e987 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 17 Nov 2013 02:42:02 +0100 Subject: [PATCH 1/1] Fix display of selective depth and Nalimov hits together. --- remoteglot.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remoteglot.pl b/remoteglot.pl index 2ebffc8..f42b724 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -736,6 +736,9 @@ sub output_screen { $text .= sprintf " %u nodes, %7u nodes/sec, depth %u ply", $info->{'nodes'}, $info->{'nps'}, $info->{'depth'}; } + if (exists($info->{'seldepth'})) { + $text .= sprintf " (%u selective)", $info->{'seldepth'}; + } if (exists($info->{'tbhits'}) && $info->{'tbhits'} > 0) { if ($info->{'tbhits'} == 1) { $text .= ", one Nalimov hit"; @@ -743,9 +746,6 @@ sub output_screen { $text .= sprintf ", %u Nalimov hits", $info->{'tbhits'}; } } - if (exists($info->{'seldepth'})) { - $text .= sprintf " (%u selective)", $info->{'seldepth'}; - } $text .= "\n\n"; } -- 2.39.2