diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:50:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:52:59 +0300 |
commit | a54bdd76cb34005d07a65c2c3a8198b7b8e8c95a (patch) | |
tree | c30e2477cc3c12b1dd046f4fd12c728114c94563 /source/blender/makesrna/intern/rna_sequencer.c | |
parent | 223f9310955f6b0d6f1089c16802a57e20fcadb3 (diff) |
ClangFormat: format '#if 0' code
Previous cleanups didn't account for space after '#'.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index a00d4c99455..01ea7471b29 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -729,7 +729,10 @@ static int rna_Sequence_input_count_get(PointerRNA *ptr) static void rna_SoundSequence_filename_set(PointerRNA *ptr, const char *value) { Sequence *seq = (Sequence *)(ptr->data); - BLI_split_dirfile(value, seq->strip->dir, seq->strip->stripdata->name, sizeof(seq->strip->dir), + BLI_split_dirfile(value, + seq->strip->dir, + seq->strip->stripdata->name, + sizeof(seq->strip->dir), sizeof(seq->strip->stripdata->name)); } @@ -1954,8 +1957,8 @@ static void rna_def_effect_inputs(StructRNA *srna, int count) } # if 0 - if (count == 3) { // not used by any effects (perhaps one day plugins?) - prop = RNA_def_property(srna, "input_3", PROP_POINTER, PROP_NONE); + if (count == 3) { // not used by any effects (perhaps one day plugins?) + prop = RNA_def_property(srna, "input_3", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "seq3"); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_NULL); RNA_def_property_ui_text(prop, "Input 3", "Third input for the effect strip"); |