diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-05 14:34:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-05 14:34:03 +0300 |
commit | 606805d1b78e32fe007452fd75b5d8522eb43a04 (patch) | |
tree | 2394adb4c0743d014d7e3e78369f91b074a8ed29 /source/blender/sequencer/intern/strip_select.c | |
parent | f8cbd333d653022d3a3340d0249dd957f02e31e5 (diff) |
Cleanup: use 'r_' prefix for return arguments, order last
Diffstat (limited to 'source/blender/sequencer/intern/strip_select.c')
-rw-r--r-- | source/blender/sequencer/intern/strip_select.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/sequencer/intern/strip_select.c b/source/blender/sequencer/intern/strip_select.c index 58ae281ead1..7cdd756e2d9 100644 --- a/source/blender/sequencer/intern/strip_select.c +++ b/source/blender/sequencer/intern/strip_select.c @@ -54,29 +54,29 @@ void SEQ_select_active_set(Scene *scene, Sequence *seq) ed->act_seq = seq; } -int SEQ_select_active_get_pair(Scene *scene, Sequence **seq_act, Sequence **seq_other) +int SEQ_select_active_get_pair(Scene *scene, Sequence **r_seq_act, Sequence **r_seq_other) { Editing *ed = SEQ_editing_get(scene, false); - *seq_act = SEQ_select_active_get(scene); + *r_seq_act = SEQ_select_active_get(scene); - if (*seq_act == NULL) { + if (*r_seq_act == NULL) { return 0; } Sequence *seq; - *seq_other = NULL; + *r_seq_other = NULL; for (seq = ed->seqbasep->first; seq; seq = seq->next) { - if (seq->flag & SELECT && (seq != (*seq_act))) { - if (*seq_other) { + if (seq->flag & SELECT && (seq != (*r_seq_act))) { + if (*r_seq_other) { return 0; } - *seq_other = seq; + *r_seq_other = seq; } } - return (*seq_other != NULL); + return (*r_seq_other != NULL); } |