Cleanup: spelling in comments

This commit is contained in:
2022-09-16 18:13:19 +10:00
parent 48d7ff68f0
commit 95f05a6a4b
126 changed files with 214 additions and 209 deletions

View File

@@ -41,7 +41,7 @@ wmKeyMap *eyedropper_modal_keymap(wmKeyConfig *keyconf)
wmKeyMap *keymap = WM_modalkeymap_find(keyconf, "Eyedropper Modal Map");
/* this function is called for each spacetype, only needs to add map once */
/* This function is called for each space-type, only needs to add map once. */
if (keymap && keymap->modal_items) {
return NULL;
}

View File

@@ -694,7 +694,7 @@ static void ui_item_array(uiLayout *layout,
else {
/* Even if 'expand' is false, we expand anyway. */
/* layout for known array subtypes */
/* Layout for known array sub-types. */
char str[3] = {'\0'};
if (!icon_only && show_text) {

View File

@@ -45,6 +45,6 @@ void ui_region_temp_remove(bContext *C, bScreen *screen, ARegion *region)
}
ED_region_exit(C, region);
BKE_area_region_free(nullptr, region); /* nullptr: no spacetype */
BKE_area_region_free(nullptr, region); /* nullptr: no space-type. */
BLI_freelinkN(&screen->regionbase, region);
}