diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-16 12:15:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-16 12:15:53 +0400 |
commit | af93ebcb503293e382f74c2d33554504269d4815 (patch) | |
tree | e4490d7be44e3532e1655f82c7a7aeb11cc5785c /source/blender/editors/armature/armature_naming.c | |
parent | bb1a7e4d8722fda09a3294eea56a537b6f043dd3 (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.c | 3 |
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); + } } } |