diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-15 03:13:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-15 03:13:54 +0300 |
commit | 70f1b8cc4061fac81413c723b973386050e2561e (patch) | |
tree | 10b550d1b35fda46e8653bc9b584e76f062d2957 /source/blender/blenlib/intern/math_base_inline.c | |
parent | 56fa48969e13bf54fc7f64e03cccf6ac82624b15 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenlib/intern/math_base_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index 144198f2c06..1f517471407 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -333,7 +333,8 @@ MINLINE float clamp_f(float value, float min, float max) { if (value > max) { return max; - } else if (value < min) { + } + else if (value < min) { return min; } return value; |