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
path: root/source
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2005-03-04 06:52:09 +0300
committerMartin Poirier <theeth@yahoo.com>2005-03-04 06:52:09 +0300
commita61c0d7995df4d8ce79ddc16b167af13dcac5fc4 (patch)
tree1e6c13d19a611077ae373626afced6a2d45ea3d2 /source
parentf458405069fdbe71e1406a40d48d7a31935688d5 (diff)
need to use MIN2 instead of min for compatibility with other compilers.
Diffstat (limited to 'source')
-rwxr-xr-xsource/blender/src/transform_constraints.c2
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) {