diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-06 07:29:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-06 07:42:03 +0300 |
commit | 2d803d3f6d803ab6098410c56048f1df1ba48ee0 (patch) | |
tree | bf424d7588067f9c3350bf6030cbda0f12d5d50d /source/blender/editors/sound | |
parent | 4f140ec7cc08e52eddae36f31bd7278506140679 (diff) |
Cleanup: use STR_ELEM macro
Diffstat (limited to 'source/blender/editors/sound')
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index 8e2bb6a4813..c6961cc9d4b 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -512,8 +512,7 @@ static bool sound_mixdown_draw_check_prop(PointerRNA *UNUSED(ptr), void *UNUSED(user_data)) { const char *prop_id = RNA_property_identifier(prop); - return !(STREQ(prop_id, "filepath") || STREQ(prop_id, "directory") || - STREQ(prop_id, "filename")); + return !(STR_ELEM(prop_id, "filepath", "directory", "filename")); } static void sound_mixdown_draw(bContext *C, wmOperator *op) |