diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-21 16:14:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-21 16:16:35 +0300 |
commit | 46e2d5ee41751542ea54177bb268ac957527867b (patch) | |
tree | 514a5d4acfdc94e86e3edccdcc208d955d60387c /source/blender/blenkernel/intern/idprop.c | |
parent | 9124ecb16b220d3222214859ec4b1d67e6313bcc (diff) |
Cleanup: typo
Diffstat (limited to 'source/blender/blenkernel/intern/idprop.c')
-rw-r--r-- | source/blender/blenkernel/intern/idprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c index a7c76acedbb..a2f1ba88f7a 100644 --- a/source/blender/blenkernel/intern/idprop.c +++ b/source/blender/blenkernel/intern/idprop.c @@ -158,7 +158,7 @@ void IDP_ResizeIDPArray(IDProperty *prop, int newlen) BLI_assert(prop->type == IDP_IDPARRAY); /* first check if the array buffer size has room */ - /* if newlen is 200 items less then totallen, reallocate anyway */ + /* if newlen is 200 items less than totallen, reallocate anyway */ if (newlen <= prop->totallen) { if (newlen < prop->len && prop->totallen - newlen < 200) { int i; @@ -235,7 +235,7 @@ void IDP_ResizeArray(IDProperty *prop, int newlen) const bool is_grow = newlen >= prop->len; /* first check if the array buffer size has room */ - /* if newlen is 200 chars less then totallen, reallocate anyway */ + /* if newlen is 200 chars less than totallen, reallocate anyway */ if (newlen <= prop->totallen && prop->totallen - newlen < 200) { idp_resize_group_array(prop, newlen, prop->data.pointer); prop->len = newlen; |