diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 15:36:20 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 16:17:32 -0700 |
commit | 522d52b58f6a8c29efa915bb1b119f49212e89ee (patch) | |
tree | ceec0dad2ac6532e64a3348f9ae1cd6516601597 /recordmydesktop/src/rmd_math.c | |
parent | eb1a698e750cbb8c7503c93e291942986364aa31 (diff) |
*: more formatting cleanups
Nothing functionally changed
Diffstat (limited to 'recordmydesktop/src/rmd_math.c')
-rw-r--r-- | recordmydesktop/src/rmd_math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recordmydesktop/src/rmd_math.c b/recordmydesktop/src/rmd_math.c index 5a184e8..1cf3d29 100644 --- a/recordmydesktop/src/rmd_math.c +++ b/recordmydesktop/src/rmd_math.c @@ -29,5 +29,5 @@ #include <math.h> double rmdRoundf(double val) { - return val < 0.0 ? ceilf( val - 0.5 ) : floorf( val + 0.5 ); + return val < 0.0 ? ceilf(val - .5) : floorf(val + 0.5); } |