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>2012-12-16 12:43:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-16 12:43:05 +0400
commit9a469b62cabf3d434de68c9e698970cc7f060136 (patch)
tree67e4734d9a1ed57e743a1115ceeeaafc68507c24 /source/blender/blenkernel/intern/property.c
parentdb4d342223e699407ad71f917a58d5d86a167073 (diff)
replace strcpy with BLI_strncpy or memcpy when the size is known.
Diffstat (limited to 'source/blender/blenkernel/intern/property.c')
-rw-r--r--source/blender/blenkernel/intern/property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/property.c b/source/blender/blenkernel/intern/property.c
index 8da4f11fed3..c4658712ecb 100644
--- a/source/blender/blenkernel/intern/property.c
+++ b/source/blender/blenkernel/intern/property.c
@@ -287,7 +287,7 @@ void BKE_bproperty_add(bProperty *prop, const char *str)
}
/* reads value of property, sets it in chars in str */
-void BKE_bproperty_set_valstr(bProperty *prop, char *str)
+void BKE_bproperty_set_valstr(bProperty *prop, char str[MAX_PROPSTRING])
{
// extern int Gdfra; /* sector.c */