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>2013-04-13 08:28:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-13 08:28:04 +0400
commit2c4724495494868c88b0a97aaa25b70cb2f88eb2 (patch)
tree12155289ae2d7d17febcab617ede040ed8f0ecaa /source/blender/editors/armature
parent2f9b7410dc712961f5684e4892660167c693cda8 (diff)
code cleanup: use `const char` for args and replace wm_keyconfig_list_find() -> BLI_findstring()
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/armature_add.c2
-rw-r--r--source/blender/editors/armature/armature_naming.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c
index 28fb74f0cdd..13c1f2d5b2b 100644
--- a/source/blender/editors/armature/armature_add.c
+++ b/source/blender/editors/armature/armature_add.c
@@ -279,7 +279,7 @@ EditBone *add_points_bone(Object *obedit, float head[3], float tail[3])
}
-static EditBone *get_named_editbone(ListBase *edbo, char *name)
+static EditBone *get_named_editbone(ListBase *edbo, const char *name)
{
EditBone *eBone;
diff --git a/source/blender/editors/armature/armature_naming.c b/source/blender/editors/armature/armature_naming.c
index 196b8064967..1ee2dc80a97 100644
--- a/source/blender/editors/armature/armature_naming.c
+++ b/source/blender/editors/armature/armature_naming.c
@@ -104,7 +104,7 @@ static void unique_bone_name(bArmature *arm, char *name)
}
/* helper call for armature_bone_rename */
-static void constraint_bone_name_fix(Object *ob, ListBase *conlist, char *oldname, char *newname)
+static void constraint_bone_name_fix(Object *ob, ListBase *conlist, const char *oldname, const char *newname)
{
bConstraint *curcon;
bConstraintTarget *ct;