From 529f0427fce2245d60eb885518f055209405b016 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 19 Aug 2022 11:29:32 +1000 Subject: Cleanup: spelling in comments --- source/blender/editors/interface/interface_ops.c | 4 ++-- source/blender/editors/interface/interface_panel.c | 4 ++-- source/blender/editors/interface/interface_templates.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index 8976ce4ae2a..c2c4b5f7ead 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -827,8 +827,8 @@ static int override_idtemplate_create_exec(bContext *C, wmOperator *UNUSED(op)) * liboverride (note that in theory this remapping has already been done by code above), but * only in case owner ID was already an existing liboverride. * - * Otherwise, owner ID will also have been overridden, and remapped already to use itsoverride - * of the data too. */ + * Otherwise, owner ID will also have been overridden, and remapped already to use it's + * override of the data too. */ RNA_id_pointer_create(id_override, &idptr); RNA_property_pointer_set(&owner_ptr, prop, idptr, NULL); RNA_property_update(C, &owner_ptr, prop); diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index d4a9a4ca4cd..91a46a5c846 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1092,7 +1092,7 @@ static void panel_draw_aligned_widgets(const uiStyle *style, const int header_height = BLI_rcti_size_y(header_rect); const int scaled_unit = round_fl_to_int(UI_UNIT_X / aspect); - /* Offset triangle and text to the right for subpanels. */ + /* Offset triangle and text to the right for sub-panels. */ const rcti widget_rect = { .xmin = header_rect->xmin + (is_subpanel ? scaled_unit * 0.7f : 0), .xmax = header_rect->xmax, @@ -2115,7 +2115,7 @@ static void ui_handle_panel_header(const bContext *C, ui_panel_drag_collapse_handler_add(C, UI_panel_is_closed(panel)); } - /* Set panel custom data (modifier) active when expanding subpanels, but not top-level + /* Set panel custom data (modifier) active when expanding sub-panels, but not top-level * panels to allow collapsing and expanding without setting the active element. */ if (is_subpanel) { panel_custom_data_active_set(panel); diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 06543e1bb86..f3912eed9d6 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -887,8 +887,8 @@ static void template_id_liboverride_hierarchy_create(bContext *C, * created liboverride (note that in theory this remapping has already been done by code * above), but only in case owner ID was already an existing liboverride. * - * Otherwise, owner ID will also have been overridden, and remapped already to use itsoverride - * of the data too. */ + * Otherwise, owner ID will also have been overridden, and remapped already to use + * it's override of the data too. */ if (ID_IS_OVERRIDE_LIBRARY_REAL(owner_id)) { RNA_id_pointer_create(id_override, idptr); } -- cgit v1.2.3