Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-09-13 08:00:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-13 08:00:52 +0300
commitb52aeaadfb43273b8c4cee895499207f31c5e040 (patch)
treea922b0d270113dbc334cfc2cabc516479d4a6a25 /source/blender/makesdna
parent1509d2ba7d126a7f02f18b89fd2b2647b515ca42 (diff)
Cleanup: spelling, update function name in comments
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/intern/makesdna.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 29e29961028..f5a35783dca 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -420,10 +420,10 @@ static int add_name(const char *str)
}
if (str[0] == '(' && str[1] == '*') {
- /* we handle function pointer and special array cases here, e.g.
- * void (*function)(...) and float (*array)[..]. the array case
+ /* We handle function pointer and special array cases here, e.g.
+ * `void (*function)(...)` and `float (*array)[..]`. the array case
* name is still converted to (array *)() though because it is that
- * way in old dna too, and works correct with elementsize() */
+ * way in old DNA too, and works correct with #DNA_elem_size_nr. */
int isfuncptr = (strchr(str + 1, '(')) != NULL;
DEBUG_PRINTF(3, "\t\t\t\t*** Function pointer or multidim array pointer found\n");