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/editors/space_sequencer | |
parent | 6bf2c73249bd44af49274ae3138a47ebff50be62 (diff) |
Cleanup: use booleans
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 9313e45a1d4..7f23df4c94f 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -2637,12 +2637,12 @@ static int sequencer_swap_data_exec(bContext *C, wmOperator *op) Sequence *seq_other; const char *error_msg; - if (SEQ_select_active_get_pair(scene, &seq_act, &seq_other) == 0) { + if (SEQ_select_active_get_pair(scene, &seq_act, &seq_other) == false) { BKE_report(op->reports, RPT_ERROR, "Please select two strips"); return OPERATOR_CANCELLED; } - if (SEQ_edit_sequence_swap(scene, seq_act, seq_other, &error_msg) == 0) { + if (SEQ_edit_sequence_swap(scene, seq_act, seq_other, &error_msg) == false) { BKE_report(op->reports, RPT_ERROR, error_msg); return OPERATOR_CANCELLED; } |