diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-19 19:19:08 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-19 19:21:11 -0700 |
commit | 585b61e58b9c1755bbd302b0e62934e66cef8cad (patch) | |
tree | fb61d32f0b0e3c1e5f1c1f4e8d16458d6c9e45d6 /libs | |
parent | 89bd6cafa01f5062adcace2913f926d147d05720 (diff) |
fix paren/newline formatting
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index a2e1a4fbf0..9746c763fc 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2623,11 +2623,9 @@ Route::set_state (const XMLNode& node, int version) if ( !(file_flags & PresentationInfo::TypeMask) ) { if (dynamic_cast<AudioTrack*>(this)) { _presentation_info.set_flags ( PresentationInfo::Flag (file_flags | PresentationInfo::AudioTrack) ); - } - else if (dynamic_cast<MidiTrack*>(this)) { + } else if (dynamic_cast<MidiTrack*>(this)) { _presentation_info.set_flags ( PresentationInfo::Flag (file_flags | PresentationInfo::MidiTrack) ); - } - else { + } else { //no idea what this is, so let's call it an audio bus _presentation_info.set_flags ( PresentationInfo::Flag (file_flags | PresentationInfo::AudioBus) ); } |