Cleanup: correct spelling in comments

This commit is contained in:
2021-02-05 16:23:34 +11:00
parent b62b923f54
commit 17e1e2bfd8
417 changed files with 833 additions and 823 deletions

View File

@@ -649,7 +649,7 @@ static StructRNA *rna_UIList_register(Main *bmain,
uiList dummyuilist = {NULL};
PointerRNA dummyul_ptr;
int have_function[3];
size_t over_alloc = 0; /* warning, if this becomes a bess, we better do another alloc */
size_t over_alloc = 0; /* Warning, if this becomes a mess, we better do another allocation. */
/* setup dummy menu & menu type to store static properties in */
dummyuilist.type = &dummyult;
@@ -669,7 +669,7 @@ static StructRNA *rna_UIList_register(Main *bmain,
return NULL;
}
/* check if we have registered this uilist type before, and remove it */
/* Check if we have registered this UI-list type before, and remove it. */
ult = WM_uilisttype_find(dummyult.idname, true);
if (ult && ult->rna_ext.srna) {
rna_UIList_unregister(bmain, ult->rna_ext.srna);
@@ -904,7 +904,7 @@ static StructRNA *rna_Menu_register(Main *bmain,
Menu dummymenu = {NULL};
PointerRNA dummymtr;
int have_function[2];
size_t over_alloc = 0; /* warning, if this becomes a bess, we better do another alloc */
size_t over_alloc = 0; /* Warning, if this becomes a mess, we better do another allocation. */
size_t description_size = 0;
char _menu_descr[RNA_DYN_DESCR_MAX];