From 585b61e58b9c1755bbd302b0e62934e66cef8cad Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 19 Feb 2020 19:19:08 -0700 Subject: [PATCH] fix paren/newline formatting --- libs/ardour/route.cc | 6 ++---- 1 file 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(this)) { _presentation_info.set_flags ( PresentationInfo::Flag (file_flags | PresentationInfo::AudioTrack) ); - } - else if (dynamic_cast(this)) { + } else if (dynamic_cast(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) ); }