diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-03-04 06:52:09 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-03-04 06:52:09 +0300 |
commit | a61c0d7995df4d8ce79ddc16b167af13dcac5fc4 (patch) | |
tree | 1e6c13d19a611077ae373626afced6a2d45ea3d2 /source | |
parent | f458405069fdbe71e1406a40d48d7a31935688d5 (diff) |
need to use MIN2 instead of min for compatibility with other compilers.
Diffstat (limited to 'source')
-rwxr-xr-x | source/blender/src/transform_constraints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform_constraints.c b/source/blender/src/transform_constraints.c index ce02911f4a7..d0d2a54c159 100755 --- a/source/blender/src/transform_constraints.c +++ b/source/blender/src/transform_constraints.c @@ -431,7 +431,7 @@ void BIF_drawPropCircle() void startConstraint(TransInfo *t) { t->con.mode |= CON_APPLY; - t->num.idx_max = min(getConstraintSpaceDimension(t) - 1, t->idx_max); + t->num.idx_max = MIN2(getConstraintSpaceDimension(t) - 1, t->idx_max); } void stopConstraint(TransInfo *t) { |