diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index faf7fffe9..5ba1f70b7 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -1292,7 +1292,8 @@ void Session::processBigRatios() qreal globalMaxRatio = this->globalMaxRatio(); foreach (TorrentHandle *const torrent, m_torrents) { if (torrent->isSeed() - && ((torrent->ratioLimit() != TorrentHandle::NO_RATIO_LIMIT) || !torrent->isForced())) { + && (torrent->ratioLimit() != TorrentHandle::NO_RATIO_LIMIT) + && !torrent->isForced()) { const qreal ratio = torrent->realRatio(); qreal ratioLimit = torrent->ratioLimit(); if (ratioLimit == TorrentHandle::USE_GLOBAL_RATIO) {