Cleanup: code-style, duplicate header
[blender-staging.git] / source / blender / editors / space_sequencer / sequencer_draw.c
index e1768e4aedc735bb30c698215b1d88b0239fb58e..70a6e6d83cb8f87f0b5c4701ba91afd0170dc957 100644 (file)
@@ -545,7 +545,8 @@ static void draw_seq_text(View2D *v2d, SpaceSeq *sseq, Sequence *seq, float x1,
                if ((sseq->flag & SEQ_ALL_WAVEFORMS) || (seq->flag & SEQ_AUDIO_DRAW_WAVEFORM)) {
                        str[0] = 0;
                        str_len = 0;
                if ((sseq->flag & SEQ_ALL_WAVEFORMS) || (seq->flag & SEQ_AUDIO_DRAW_WAVEFORM)) {
                        str[0] = 0;
                        str_len = 0;
-               } else if (seq->sound) {
+               }
+               else if (seq->sound) {
                        str_len = BLI_snprintf(str, sizeof(str), "%s: %s | %d",
                                               name, seq->sound->name, seq->len);
                }
                        str_len = BLI_snprintf(str, sizeof(str), "%s: %s | %d",
                                               name, seq->sound->name, seq->len);
                }