diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-16 12:43:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-16 12:43:05 +0400 |
commit | 9a469b62cabf3d434de68c9e698970cc7f060136 (patch) | |
tree | 67e4734d9a1ed57e743a1115ceeeaafc68507c24 /source/blender/blenkernel/BKE_property.h | |
parent | db4d342223e699407ad71f917a58d5d86a167073 (diff) |
replace strcpy with BLI_strncpy or memcpy when the size is known.
Diffstat (limited to 'source/blender/blenkernel/BKE_property.h')
-rw-r--r-- | source/blender/blenkernel/BKE_property.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_property.h b/source/blender/blenkernel/BKE_property.h index e0eb8c04b60..99e60757f15 100644 --- a/source/blender/blenkernel/BKE_property.h +++ b/source/blender/blenkernel/BKE_property.h @@ -47,6 +47,7 @@ void BKE_bproperty_object_set(struct Object *ob, struct bProperty * // int BKE_bproperty_cmp(struct bProperty *prop, const char *str); void BKE_bproperty_set(struct bProperty *prop, const char *str); void BKE_bproperty_add(struct bProperty *prop, const char *str); -void BKE_bproperty_set_valstr(struct bProperty *prop, char *str); +/* should really be called '_get_valstr()' or '_as_string()' */ +void BKE_bproperty_set_valstr(struct bProperty *prop, char str[MAX_PROPSTRING]); #endif |