From e5e903a92157f53ed96d50b80313747b6c91dedb Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Fri, 16 Jun 2006 17:33:16 +0000 Subject: [PATCH] Added parentheses. --- macosx/Torrent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index d39d737cf..a2c1128aa 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -136,9 +136,9 @@ fStat = tr_torrentStat( fHandle ); if ([self isSeeding] - && (fStopRatioSetting == RATIO_CHECK && [self ratio] >= fRatioLimit) + && ((fStopRatioSetting == RATIO_CHECK && [self ratio] >= fRatioLimit) || (fStopRatioSetting == RATIO_GLOBAL && [fDefaults boolForKey: @"RatioCheck"] - && [self ratio] >= [fDefaults floatForKey: @"RatioLimit"])) + && [self ratio] >= [fDefaults floatForKey: @"RatioLimit"]))) { [self stop]; [self setStopRatioSetting: RATIO_NO_CHECK];