Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-02-15 03:13:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-15 03:13:54 +0300
commit70f1b8cc4061fac81413c723b973386050e2561e (patch)
tree10b550d1b35fda46e8653bc9b584e76f062d2957 /source/blender/blenlib/intern/math_base_inline.c
parent56fa48969e13bf54fc7f64e03cccf6ac82624b15 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/blenlib/intern/math_base_inline.c')
-rw-r--r--source/blender/blenlib/intern/math_base_inline.c3
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;