From 4cd808f912173b8c59c217860313e178102e893e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 20 Feb 2021 15:38:14 +1100 Subject: Cleanup: spelling --- source/blender/editors/animation/fmodifier_ui.c | 6 +++--- source/blender/editors/interface/interface_handlers.c | 2 +- source/blender/editors/interface/interface_region_popup.c | 4 ++-- source/blender/editors/space_outliner/outliner_draw.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/animation/fmodifier_ui.c b/source/blender/editors/animation/fmodifier_ui.c index f521b89450e..0821cfbd282 100644 --- a/source/blender/editors/animation/fmodifier_ui.c +++ b/source/blender/editors/animation/fmodifier_ui.c @@ -190,7 +190,7 @@ static PanelType *fmodifier_panel_register(ARegionType *region_type, panel_type->poll = poll; /* Give the panel the special flag that says it was built here and corresponds to a - * modifer rather than a PanelType. */ + * modifier rather than a #PanelType. */ panel_type->flag = PANEL_TYPE_HEADER_EXPAND | PANEL_TYPE_DRAW_BOX | PANEL_TYPE_INSTANCED; panel_type->reorder = fmodifier_reorder; panel_type->get_list_data_expand_flag = get_fmodifier_expand_flag; @@ -596,7 +596,7 @@ static void panel_register_noise(ARegionType *region_type, /** \} */ /* -------------------------------------------------------------------- */ -/** \name Enevelope Modifier +/** \name Envelope Modifier * \{ */ static void fmod_envelope_addpoint_cb(bContext *C, void *fcm_dv, void *UNUSED(arg)) @@ -898,7 +898,7 @@ static void panel_register_stepped(ARegionType *region_type, * \{ */ /** - * Checks if the panels match the active strip / curve, rebubilds them if they don't. + * Checks if the panels match the active strip / curve, rebuilds them if they don't. */ void ANIM_fmodifier_panels(const bContext *C, ID *owner_id, diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 6b634eedd7a..3a4eda29206 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -7927,7 +7927,7 @@ static void button_activate_state(bContext *C, uiBut *but, uiHandleButtonState s button_tooltip_timer_reset(C, but); - /* automatic open pulldown block timer */ + /* Automatic open pull-down block timer. */ if (ELEM(but->type, UI_BTYPE_BLOCK, UI_BTYPE_PULLDOWN, UI_BTYPE_POPOVER) || /* Menu button types may draw as popovers, check for this case * ignoring other kinds of menus (mainly enums). (see T66538). */ diff --git a/source/blender/editors/interface/interface_region_popup.c b/source/blender/editors/interface/interface_region_popup.c index 3228e9741bb..8135f5a203e 100644 --- a/source/blender/editors/interface/interface_region_popup.c +++ b/source/blender/editors/interface/interface_region_popup.c @@ -353,7 +353,7 @@ static void ui_popup_block_position(wmWindow *window, block->direction = dir1; } - /* keep a list of these, needed for pulldown menus */ + /* Keep a list of these, needed for pull-down menus. */ uiSafetyRct *saferct = MEM_callocN(sizeof(uiSafetyRct), "uiSafetyRct"); saferct->parent = butrct; saferct->safety = block->safety; @@ -632,7 +632,7 @@ uiBlock *ui_popup_block_refresh(bContext *C, } else { uiSafetyRct *saferct; - /* keep a list of these, needed for pulldown menus */ + /* Keep a list of these, needed for pull-down menus. */ saferct = MEM_callocN(sizeof(uiSafetyRct), "uiSafetyRct"); saferct->safety = block->safety; BLI_addhead(&block->saferct, saferct); diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 031c94689b0..008ae727947 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -3414,7 +3414,7 @@ static void outliner_draw_highlights_recursive(uint pos, } else { if (is_searching && (tselem->flag & TSE_SEARCHMATCH)) { - /* Ssearch match highlights. We don't expand items when searching in the data-blocks, + /* Search match highlights. We don't expand items when searching in the data-blocks, * but we still want to highlight any filter matches. */ immUniformColor4fv(col_searchmatch); immRecti(pos, start_x, start_y, end_x, start_y + UI_UNIT_Y); -- cgit v1.2.3