diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-28 09:20:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-28 09:20:14 +0400 |
commit | 4208eed25ba1596d79f15ac33442b552ad796161 (patch) | |
tree | 3c182b906915e5a824369476178717fb2507ca46 /source/blender/makesrna/intern/rna_animation.c | |
parent | 2bc2752374ce18d78068765782a1c7214965ade6 (diff) |
use __func__ rather than function names in rna prints, some were incorrect.
also replace use of strlen() where checking first char is enough.
Diffstat (limited to 'source/blender/makesrna/intern/rna_animation.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_animation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c index 0a47c98aebb..ebf8990adf3 100644 --- a/source/blender/makesrna/intern/rna_animation.c +++ b/source/blender/makesrna/intern/rna_animation.c @@ -272,7 +272,7 @@ static void rna_ksPath_RnaPath_set(PointerRNA *ptr, const char *value) if (ksp->rna_path) MEM_freeN(ksp->rna_path); - if (strlen(value)) + if (value[0]) ksp->rna_path= BLI_strdup(value); else ksp->rna_path= NULL; |