mirror of
https://github.com/transmission/transmission
synced 2025-03-12 07:03:44 +00:00
Added parentheses.
This commit is contained in:
parent
d203555d84
commit
e5e903a921
1 changed files with 2 additions and 2 deletions
|
@ -136,9 +136,9 @@
|
||||||
fStat = tr_torrentStat( fHandle );
|
fStat = tr_torrentStat( fHandle );
|
||||||
|
|
||||||
if ([self isSeeding]
|
if ([self isSeeding]
|
||||||
&& (fStopRatioSetting == RATIO_CHECK && [self ratio] >= fRatioLimit)
|
&& ((fStopRatioSetting == RATIO_CHECK && [self ratio] >= fRatioLimit)
|
||||||
|| (fStopRatioSetting == RATIO_GLOBAL && [fDefaults boolForKey: @"RatioCheck"]
|
|| (fStopRatioSetting == RATIO_GLOBAL && [fDefaults boolForKey: @"RatioCheck"]
|
||||||
&& [self ratio] >= [fDefaults floatForKey: @"RatioLimit"]))
|
&& [self ratio] >= [fDefaults floatForKey: @"RatioLimit"])))
|
||||||
{
|
{
|
||||||
[self stop];
|
[self stop];
|
||||||
[self setStopRatioSetting: RATIO_NO_CHECK];
|
[self setStopRatioSetting: RATIO_NO_CHECK];
|
||||||
|
|
Loading…
Add table
Reference in a new issue