diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-26 08:57:43 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-26 08:58:32 +0300 |
commit | 054cec404b1b9852892613acf18bf0fbd4ff2e16 (patch) | |
tree | 7b3069464aff2aa717786a32c606a7072ebe65b5 /source/blender/sequencer/intern/strip_select.c | |
parent | 6bf2c73249bd44af49274ae3138a47ebff50be62 (diff) |
Cleanup: use booleans
Diffstat (limited to 'source/blender/sequencer/intern/strip_select.c')
-rw-r--r-- | source/blender/sequencer/intern/strip_select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/sequencer/intern/strip_select.c b/source/blender/sequencer/intern/strip_select.c index 69b4ce1f7c7..1a4ad4d997e 100644 --- a/source/blender/sequencer/intern/strip_select.c +++ b/source/blender/sequencer/intern/strip_select.c @@ -37,14 +37,14 @@ void SEQ_select_active_set(Scene *scene, Sequence *seq) ed->act_seq = seq; } -int SEQ_select_active_get_pair(Scene *scene, Sequence **r_seq_act, Sequence **r_seq_other) +bool SEQ_select_active_get_pair(Scene *scene, Sequence **r_seq_act, Sequence **r_seq_other) { Editing *ed = SEQ_editing_get(scene); *r_seq_act = SEQ_select_active_get(scene); if (*r_seq_act == NULL) { - return 0; + return false; } Sequence *seq; @@ -54,7 +54,7 @@ int SEQ_select_active_get_pair(Scene *scene, Sequence **r_seq_act, Sequence **r_ for (seq = ed->seqbasep->first; seq; seq = seq->next) { if (seq->flag & SELECT && (seq != (*r_seq_act))) { if (*r_seq_other) { - return 0; + return false; } *r_seq_other = seq; |