diff options
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 84352127264..3004aadb5dd 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -2504,7 +2504,11 @@ static int filelist_readjob_list_dir(const char *root, /* Set initial file type and attributes. */ entry->attributes = BLI_file_attributes(full_path); - if (S_ISDIR(files[i].s.st_mode)) { + if (S_ISDIR(files[i].s.st_mode) +#ifdef __APPLE__ + && !(ED_path_extension_type(full_path) & FILE_TYPE_APPLICATIONBUNDLE) +#endif + ) { entry->typeflag = FILE_TYPE_DIR; } |