Fix sub-variation display with negative score
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 30 Nov 2010 20:25:07 +0000 (21:25 +0100)
committerArun Persaud <arun@nubati.net>
Fri, 3 Dec 2010 07:14:25 +0000 (23:14 -0800)
commit77a5189fa223ed2a484e1715ad760a8396a7ad7e
tree517deae7e7f1d9f0a8848e55e051746b51ab3576
parent88b2dc39c46dc1a447b9f5691d81b7354c92e53a
Fix sub-variation display with negative score

The test if the displayed score was the pvInfo score failed for negative
scores, because floats are truncated towards zero. So the previous fix
of spurious score/depth info was not working when the score was
negative.
backend.c