@@ -86,11 +86,11 @@ - (void)_drawProgress { float bars, percent; int columns, barWidth; - if ((columns = [of_stdout columns]) >= 0) { + if ((columns = of_stdout.columns) >= 0) { if (columns > 37) barWidth = columns - 37; else barWidth = 0; } else @@ -130,11 +130,11 @@ } [of_stdout writeFormat: @"▏ %,6.2f%% ", percent]; if (percent == 100) { - double timeInterval = -[_startDate timeIntervalSinceNow]; + double timeInterval = -_startDate.timeIntervalSinceNow; _BPS = (float)_received / (float)timeInterval; _ETA = timeInterval; } @@ -210,11 +210,11 @@ [of_stdout writeString: @" "]; if (_stopped) _BPS = (float)_received / - -(float)[_startDate timeIntervalSinceNow]; + -(float)_startDate.timeIntervalSinceNow; if (_BPS >= GIBIBYTE) { OFString *num = [OFString stringWithFormat: @"%,7.2f", _BPS / GIBIBYTE]; [of_stdout writeString: OF_LOCALIZED(@"progress_gibs", @@ -250,11 +250,11 @@ } - (void)calculateBPSAndETA { _BPS = (float)(_received - _lastReceived) / - -(float)[_lastReceivedDate timeIntervalSinceNow]; + -(float)_lastReceivedDate.timeIntervalSinceNow; _ETA = (double)(_length - _received) / _BPS; _lastReceived = _received; [_lastReceivedDate release]; _lastReceivedDate = [[OFDate alloc] init];