diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-11 07:43:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-11 07:43:05 +0300 |
commit | 1241e9170711acfa0fbf99d5289b0241f6db1c23 (patch) | |
tree | 92bc1bcd417605c771046cebd7741126e10700a0 /source/blender/editors/space_outliner/outliner_tree.c | |
parent | f9c0d7261a22d8d237e8cc23453c636c3a09c58b (diff) |
Cleanup: use ELEM, STREQ macros
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 14ab7fd9974..bed7683703f 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -1340,7 +1340,7 @@ static void outliner_sort(ListBase *lb) tp->name = te->name; tp->idcode = te->idcode; - if ((tselem->type != TSE_SOME_ID) && tselem->type != TSE_DEFGROUP) { + if (!ELEM(tselem->type, TSE_SOME_ID, TSE_DEFGROUP)) { tp->idcode = 0; /* Don't sort this. */ } if (tselem->type == TSE_ID_BASE) { |