diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-17 03:51:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-17 03:51:42 +0300 |
commit | 9bcdb4b758d96d1fe5345858f6c61a90f7c57eac (patch) | |
tree | 51d1be5c5d7243b9782a10e8ed99a153f5392ef7 /source/blender/editors/armature | |
parent | de9495e51915cae71ecdae05fdc21e5aef09ba4e (diff) |
2.5: various warning fixes.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index 54da3901a59..5548700b2e1 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -747,7 +747,7 @@ int join_armature(Scene *scene, View3D *v3d) joined_armature_fix_links(ob, base->object, pchan, curbone); /* Rename pchan */ - sprintf(pchan->name, curbone->name); + BLI_strncpy(pchan->name, curbone->name, sizeof(pchan->name)); /* Jump Ship! */ BLI_remlink(curarm->edbo, curbone); |