From 4e45265dc6cafe0bf6f36a14a469288183059858 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 30 Nov 2021 09:04:50 +1100 Subject: Cleanup: spelling in comments & strings --- source/blender/editors/space_file/asset_catalog_tree_view.cc | 2 +- source/blender/editors/space_file/filelist.c | 2 +- source/blender/editors/space_file/filesel.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/space_file') diff --git a/source/blender/editors/space_file/asset_catalog_tree_view.cc b/source/blender/editors/space_file/asset_catalog_tree_view.cc index 39ea43264f5..1b1517b7289 100644 --- a/source/blender/editors/space_file/asset_catalog_tree_view.cc +++ b/source/blender/editors/space_file/asset_catalog_tree_view.cc @@ -376,7 +376,7 @@ bool AssetCatalogDropController::can_drop(const wmDrag &drag, const char **r_dis { if (drag.type == WM_DRAG_ASSET_CATALOG) { const AssetCatalog *drag_catalog = get_drag_catalog(drag, get_asset_library()); - /* Note: Technically it's not an issue to allow this (the catalog will just receive a new + /* NOTE: Technically it's not an issue to allow this (the catalog will just receive a new * path and the catalog system will generate missing parents from the path). But it does * appear broken to users, so disabling entirely. */ if (catalog_item_.catalog_path().is_contained_in(drag_catalog->path)) { diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 3e48c2a5d87..6593894d9a6 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -3255,7 +3255,7 @@ static int filelist_readjob_list_lib(const char *root, /* Try read from indexer_runtime. */ /* Indexing returns all entries in a blend file. We should ignore the index when listing a group * inside a blend file, so the `entries` isn't filled with undesired entries. - * This happens when linking or appending data-blocks, where you can navigate into a group (fe + * This happens when linking or appending data-blocks, where you can navigate into a group (ie * Materials/Objects) where you only want to work with partial indexes. * * Adding support for partial reading/updating indexes would increase the complexity. diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index 37b1d3825d4..8d89fbbd80f 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -1385,8 +1385,8 @@ void file_params_renamefile_activate(SpaceFile *sfile, FileSelectParams *params) params->rename_flag = FILE_PARAMS_RENAME_ACTIVE; } else if ((params->rename_flag & FILE_PARAMS_RENAME_POSTSCROLL_PENDING) != 0) { - /* file_select_deselect_all() will resort and refilter, so idx will probably have changed. - * Need to get the correct FileDirEntry again. */ + /* file_select_deselect_all() will resort and re-filter, so `idx` will probably have changed. + * Need to get the correct #FileDirEntry again. */ file_select_deselect_all(sfile, FILE_SEL_SELECTED); idx = file_params_find_renamed(params, sfile->files); file = filelist_file(sfile->files, idx); -- cgit v1.2.3