From df107939c9eeaa77dffe57ba6b246e1184efe67b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 9 Jul 2012 22:16:50 +0000 Subject: rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing an allocation. --- source/blender/editors/armature/poseobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index f837d8a726e..cd2ca16fec5 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -694,7 +694,7 @@ static int pose_select_same_keyingset(bContext *C, Object *ob, short extend) /* only items related to this object will be relevant */ if ((ksp->id == &ob->id) && (ksp->rna_path != NULL)) { if (strstr(ksp->rna_path, "bones")) { - char *boneName = BLI_getQuotedStr(ksp->rna_path, "bones["); + char *boneName = BLI_str_quoted_substrN(ksp->rna_path, "bones["); if (boneName) { bPoseChannel *pchan = BKE_pose_channel_find_name(pose, boneName); -- cgit v1.2.3