Cleanup: spelling in comments

This commit is contained in:
2022-09-21 11:57:20 +10:00
parent e9bdf8ebc3
commit 5517c848bd
12 changed files with 42 additions and 45 deletions

View File

@@ -298,7 +298,7 @@ static int mathutils_bmloopcol_set(BaseMathObject *bmo, int UNUSED(subtype))
static int mathutils_bmloopcol_get_index(BaseMathObject *bmo, int subtype, int UNUSED(index))
{
/* lazy, avoid repeteing the case statement */
/* Lazy, avoid repeating the case statement. */
if (mathutils_bmloopcol_get(bmo, subtype) == -1) {
return -1;
}
@@ -309,7 +309,7 @@ static int mathutils_bmloopcol_set_index(BaseMathObject *bmo, int subtype, int i
{
const float f = bmo->data[index];
/* lazy, avoid repeteing the case statement */
/* Lazy, avoid repeating the case statement. */
if (mathutils_bmloopcol_get(bmo, subtype) == -1) {
return -1;
}

View File

@@ -12,7 +12,7 @@ extern "C" {
struct bContext;
/** Creates the bpy module and adds it to `sys.modules` for importing. */
/** Creates the `bpy` module and adds it to `sys.modules` for importing. */
void BPy_init_modules(struct bContext *C);
extern PyObject *bpy_package_py;