From: Steinar H. Gunderson Date: Sun, 17 Nov 2013 01:42:02 +0000 (+0100) Subject: Fix display of selective depth and Nalimov hits together. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=bf26f1b3ef29a518e1ee9f71c42c9cf344d2e987;hp=fe2a0bc8ee2c132cf48a24b6c98ee1ecb46f78d5 Fix display of selective depth and Nalimov hits together. --- 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"; }