diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-12 22:14:09 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-12 22:14:09 +0300 |
commit | eb56e8cd788dd9711ec013a5460fdb1d510511c1 (patch) | |
tree | 01f4afee828b2709511566f374ecf10eedb13da6 /source/blender/makesrna/intern/rna_access.c | |
parent | a6da1884ba9f4d3d37c98b48bc18a8d26dd489fc (diff) |
Cleanup: Fix comment formatting and grammar
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index f1980eed811..40b5f3ed1da 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -1445,8 +1445,9 @@ int RNA_property_int_clamp(PointerRNA *ptr, PropertyRNA *prop, int *value) return 0; } -/* this is the max length including \0 terminator. - * '0' used when their is no maximum */ +/** + * \return the maximum length including the \0 terminator. '0' is used when there is no maximum. + */ int RNA_property_string_maxlength(PropertyRNA *prop) { StringPropertyRNA *sprop = (StringPropertyRNA *)rna_ensure_property(prop); |