Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-12-14 13:32:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-14 13:32:14 +0300
commit5cce6894d2a7704dcd445d471764af4c6baa65aa (patch)
tree574f26527aedcf19aecb8372c7f87c728f9d2d83 /source/blender/editors/space_file
parent381cef17738989ec846e667a39fc042bcd0261cf (diff)
Cleanup: consistent naming for the blender file name
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/filelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 533c1bc32c7..e4ea832fe2f 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -3859,8 +3859,8 @@ static void filelist_readjob_main_assets_add_items(FileListReadJob *job_params,
*/
static bool filelist_contains_main(const FileList *filelist, const Main *bmain)
{
- const char *main_path = BKE_main_blendfile_path(bmain);
- return main_path[0] && BLI_path_contains(filelist->filelist.root, main_path);
+ const char *blendfile_path = BKE_main_blendfile_path(bmain);
+ return blendfile_path[0] && BLI_path_contains(filelist->filelist.root, blendfile_path);
}
static void filelist_readjob_asset_library(FileListReadJob *job_params,