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>2015-01-10 04:40:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-10 04:40:09 +0300
commit9590e77a5993ac43cf5933628f9d42933a45b296 (patch)
tree40d3832e33597f8e67fdb6edcc8fa23b1ae1cdc3 /source/blender/editors/animation/keyframes_general.c
parentdec523da877facb0573dccce6d95e5b0d2734707 (diff)
cleanup: style & warnings
Diffstat (limited to 'source/blender/editors/animation/keyframes_general.c')
-rw-r--r--source/blender/editors/animation/keyframes_general.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c
index 64332f61758..6d73cd0c04c 100644
--- a/source/blender/editors/animation/keyframes_general.c
+++ b/source/blender/editors/animation/keyframes_general.c
@@ -615,7 +615,8 @@ short copy_animedit_keys(bAnimContext *ac, ListBase *anim_data)
return 0;
}
-static void flip_names(tAnimCopybufItem *aci, char **name) {
+static void flip_names(tAnimCopybufItem *aci, char **name)
+{
if (aci->is_bone) {
char *str_start;
if ((str_start = strstr(aci->rna_path, "pose.bones["))) {
@@ -644,7 +645,7 @@ static void flip_names(tAnimCopybufItem *aci, char **name) {
BLI_strncpy(str_iter, bname_new, length + 1);
str_iter += length;
BLI_strncpy(str_iter, str_end, postfix_l + 1);
- str_iter[postfix_l] = 0;
+ str_iter[postfix_l] = '\0';
}
}
}