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-03-09 01:35:37 +0300
committerCampbell Barton <campbell@blender.org>2022-03-09 02:13:43 +0300
commit21462565632b876ac4eadf2bd30573f2fda70c76 (patch)
tree483da4fc20c4c8cc7198abd6edd5f3a53aa90b91 /source/blender/editors/space_file/filelist.c
parent626c844105afc3b2455f5a1b87ac8a7839a7e0bf (diff)
Cleanup: use ELEM macro
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r--source/blender/editors/space_file/filelist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index daa4b53803f..d47e67b9d27 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -3462,8 +3462,7 @@ static void filelist_readjob_main_recursive(Main *bmain, FileList *filelist)
// files->entry->nr = totbl + 1;
files->entry->poin = id;
fake = id->flag & LIB_FAKEUSER;
- if (idcode == ID_MA || idcode == ID_TE || idcode == ID_LA || idcode == ID_WO ||
- idcode == ID_IM) {
+ if (ELEM(idcode, ID_MA, ID_TE, ID_LA, ID_WO, ID_IM)) {
files->typeflag |= FILE_TYPE_IMAGE;
}
# if 0