From 6ff0d599670a11f472d050f66e3b692a15660c51 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 22 Jun 2021 17:02:45 +0200 Subject: Minor cleanup to previous commit introducing `BLI_math_time`. Forgot to address latest review comments, sorry for the noise.`:wq --- source/blender/blenlib/intern/math_time.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/blender/blenlib/intern/math_time.c b/source/blender/blenlib/intern/math_time.c index 23ad1ae8777..b85de7817dd 100644 --- a/source/blender/blenlib/intern/math_time.c +++ b/source/blender/blenlib/intern/math_time.c @@ -26,8 +26,9 @@ /** Explode given time value expressed in seconds, into a set of days, hours, minutes, seconds * and/or milliseconds (depending on which return parameters are not NULL). * - * \note: The smallest given return parameter will get the potential fractional remaining time - * value. + * \note The smallest given return parameter will get the potential fractional remaining time + * value. E.g. if you give `seconds=90.0` and do not pass `r_seconds` and `r_milliseconds`, + * `r_minutes` will be set to `1.5`. */ void BLI_math_time_seconds_decompose(double seconds, double *r_days, -- cgit v1.2.3