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>2011-02-13 04:59:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-13 04:59:16 +0300
commit93f061fac357bd2c2f86efbf51ff99aaefadf48f (patch)
tree2ddf07a2aa990a80154cd8be405fd5fb74156c39 /source/blender/editors/curve
parent373fea66620eb11a07640699f0d702521d4e55c3 (diff)
wrong length used with strncmp when comparing RNA path.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 0949e3d6214..a024bf087c1 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -1129,7 +1129,7 @@ static void curve_rename_fcurves(Object *obedit, ListBase *orig_curves)
if(!strncmp(fcu->rna_path, "splines", 7)) {
char *ch= strchr(fcu->rna_path, '.');
- if (ch && (!strncmp(ch, ".bezier_points", 14) || !strncmp(ch, ".points", 8)))
+ if (ch && (!strncmp(ch, ".bezier_points", 14) || !strncmp(ch, ".points", 7)))
fcurve_remove(ad, orig_curves, fcu);
}
}