Typos and whitespace tweaks
[blender.git] / source / blender / src / editconstraint.c
index 653e74c70b410583ffc948b48342ea4b45546ce5..0ad58a5ce4b78db5e5ffe36072540431f463e9f0 100644 (file)
@@ -681,7 +681,7 @@ static void test_constraints (Object *owner, const char substring[])
                                Bone *bone;
                                bPoseChannel *chan;
                                
-                               bone = get_named_bone( ((bArmature *)owner->data ), substring );
+                               bone = get_named_bone( ((bArmature *)owner->data), substring );
                                chan = get_pose_channel(owner->pose, substring);
                                if (bone && chan) {
                                        conlist = &chan->constraints;
@@ -831,9 +831,9 @@ static void test_bonelist_constraints (Object *owner, ListBase *list)
 {
        Bone *bone;
 
-       for (bone = list->first; bone; bone=bone->next) {
+       for (bone = list->first; bone; bone = bone->next) {
                test_constraints(owner, bone->name);
-               test_bonelist_constraints (owner, &bone->childbase);
+               test_bonelist_constraints(owner, &bone->childbase);
        }
 }
 
@@ -845,7 +845,7 @@ void object_test_constraints (Object *owner)
                bArmature *arm= get_armature(owner);
                
                if (arm)
-                       test_bonelist_constraints (owner, &arm->bonebase);
+                       test_bonelist_constraints(owner, &arm->bonebase);
        }
 }