diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-12 02:04:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-12 02:43:49 +0300 |
commit | 6529d20d79a5e55696a2fa48150055d3e4a942dd (patch) | |
tree | 314f21fd4c91f8a5558cfe34e04f6ce1e50d3c98 /source/blender/blenlib/intern/string_utils.c | |
parent | 8ce93ef6ae5169297aca67f5439503c3b25dc707 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenlib/intern/string_utils.c')
-rw-r--r-- | source/blender/blenlib/intern/string_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/string_utils.c b/source/blender/blenlib/intern/string_utils.c index fa12b4b3a37..f2b3ef2ad87 100644 --- a/source/blender/blenlib/intern/string_utils.c +++ b/source/blender/blenlib/intern/string_utils.c @@ -167,8 +167,8 @@ void BLI_string_flip_side_name(char *r_name, /* We first check the case with a .### extension, let's find the last period */ if (isdigit(r_name[len - 1])) { - index = strrchr(r_name, '.'); // last occurrence - if (index && isdigit(index[1])) { // doesnt handle case bone.1abc2 correct..., whatever! + index = strrchr(r_name, '.'); /* last occurrence. */ + if (index && isdigit(index[1])) { /* doesn't handle case bone.1abc2 correct..., whatever! */ if (strip_number == false) { BLI_strncpy(number, index, name_len); } |