diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-08 14:14:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-08 14:14:49 +0300 |
commit | 9fb912518425e52e7b13c35dd79770c2715c8dd6 (patch) | |
tree | 615266a9b40809eeefa30def291bf95210ab417a /source/blender/python | |
parent | 804205babe212972dd800c5a2f6d9ebfb64feefb (diff) |
Cleanup: rename 'ct' to 'len' for gpu
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/gawain/gwn_py_types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/gawain/gwn_py_types.c b/source/blender/python/gawain/gwn_py_types.c index 7527830eb63..bdf0be9f7e1 100644 --- a/source/blender/python/gawain/gwn_py_types.c +++ b/source/blender/python/gawain/gwn_py_types.c @@ -301,7 +301,7 @@ finally: static int bpygwn_find_id(const Gwn_VertFormat *fmt, const char *id) { for (int i = 0; i < fmt->attr_len; i++) { - for (uint j = 0; j < fmt->name_ct; j++) { + for (uint j = 0; j < fmt->name_len; j++) { if (STREQ(fmt->attribs[i].name[j], id)) { return i; } |