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 <campbell@blender.org>2022-01-14 02:47:50 +0300
committerCampbell Barton <campbell@blender.org>2022-01-14 03:23:46 +0300
commitcea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch)
treefa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/editors/space_file/filelist.c
parent7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff)
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r--source/blender/editors/space_file/filelist.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index e4ea832fe2f..0c4db167a0e 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -852,7 +852,8 @@ static bool is_filtered_hidden(const char *filename,
/**
* Apply the filter string as file path matching pattern.
- * \return true when the file should be in the result set, false if it should be filtered out. */
+ * \return true when the file should be in the result set, false if it should be filtered out.
+ */
static bool is_filtered_file_relpath(const FileListInternEntry *file, const FileListFilter *filter)
{
if (filter->filter_search[0] == '\0') {
@@ -2064,7 +2065,7 @@ static char *fileentry_uiname(const char *root,
BLI_join_dirfile(abspath, sizeof(abspath), root, relpath);
name = BLF_display_name_from_file(abspath);
if (name) {
- /* Allocated string, so no need to BLI_strdup.*/
+ /* Allocated string, so no need to #BLI_strdup. */
return name;
}
}
@@ -3661,7 +3662,7 @@ static void filelist_readjob_recursive_dir_add_items(const bool do_lib,
list_lib_options |= LIST_LIB_RECURSIVE;
}
/* Only load assets when browsing an asset library. For normal file browsing we return all
- * entries. `FLF_ASSETS_ONLY` filter can be enabled/disabled by the user.*/
+ * entries. `FLF_ASSETS_ONLY` filter can be enabled/disabled by the user. */
if (filelist->asset_library_ref) {
list_lib_options |= LIST_LIB_ASSETS_ONLY;
}