Cleanup.
This commit is contained in:
parent
642717e405
commit
e28b4dbd5c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
if (isinf(timeInterval)) { return @"Inf"; }
|
if (isinf(timeInterval)) { return @"Inf"; }
|
||||||
|
|
||||||
BOOL isNegative = signbit(timeInterval);
|
BOOL isNegative = signbit(timeInterval);
|
||||||
|
|
||||||
int totalSeconds = (int)(isNegative ? -timeInterval : timeInterval);
|
int totalSeconds = (int)(isNegative ? -timeInterval : timeInterval);
|
||||||
|
|
||||||
int seconds = totalSeconds % 60;
|
int seconds = totalSeconds % 60;
|
||||||
|
|
Loading…
Reference in a new issue