From f8e25984ae690fda6f5f943b671ce8e0ba90fd22 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 7 Dec 2014 01:39:49 +0200 Subject: [PATCH] Fix for commit 35e964f66. --- src/properties/peerlistwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/properties/peerlistwidget.cpp b/src/properties/peerlistwidget.cpp index e5fd72e35..13ffc2d57 100644 --- a/src/properties/peerlistwidget.cpp +++ b/src/properties/peerlistwidget.cpp @@ -606,7 +606,7 @@ double PeerListWidget::getPeerRelevance(const torrent_status& status, const libt } if (localMissing == 0) - return -1.0; + return 0.0; return (double)remoteHaves/localMissing; }