Cleanup: spelling in comments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user