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>2014-01-16 12:15:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-16 12:15:53 +0400
commitaf93ebcb503293e382f74c2d33554504269d4815 (patch)
treee4490d7be44e3532e1655f82c7a7aeb11cc5785c /source/blender/editors/armature/armature_naming.c
parentbb1a7e4d8722fda09a3294eea56a537b6f043dd3 (diff)
Code Cleanup: style and redundant casts
Diffstat (limited to 'source/blender/editors/armature/armature_naming.c')
-rw-r--r--source/blender/editors/armature/armature_naming.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_naming.c b/source/blender/editors/armature/armature_naming.c
index a4b40f64859..c214dc35fbf 100644
--- a/source/blender/editors/armature/armature_naming.c
+++ b/source/blender/editors/armature/armature_naming.c
@@ -113,8 +113,9 @@ static void constraint_bone_name_fix(Object *ob, ListBase *conlist, const char *
for (ct = targets.first; ct; ct = ct->next) {
if (ct->tar == ob) {
- if (!strcmp(ct->subtarget, oldname) )
+ if (STREQ(ct->subtarget, oldname)) {
BLI_strncpy(ct->subtarget, newname, MAXBONENAME);
+ }
}
}