From 8b68ed57ec5c075261639435be3290c3ba8177eb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 25 Nov 2010 20:37:39 +0000 Subject: Fix some messed up code (spacey tabs). (There is faar more of this... FIX YOUR EDITORS!) git-svn-id: svn://localhost/ardour2/branches/3.0@8086 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_mixer.cc | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'gtk2_ardour/editor_mixer.cc') diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index c5006b2ae0..5f321c7931 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -185,48 +185,48 @@ Editor::set_selected_mixer_strip (TimeAxisView& view) } - // if this is an automation track, then we shold the mixer strip should - // show the parent + // if this is an automation track, then we shold the mixer strip should + // show the parent - boost::shared_ptr route; - AutomationTimeAxisView* atv; + boost::shared_ptr route; + AutomationTimeAxisView* atv; - if ((atv = dynamic_cast(&view)) != 0) { + if ((atv = dynamic_cast(&view)) != 0) { - AudioTimeAxisView *parent = dynamic_cast(view.get_parent()); + AudioTimeAxisView *parent = dynamic_cast(view.get_parent()); - if (parent) { - route = parent->route (); - } + if (parent) { + route = parent->route (); + } - } else { + } else { - AudioTimeAxisView* at = dynamic_cast (&view); + AudioTimeAxisView* at = dynamic_cast (&view); - if (at) { - route = at->route(); - } else { - MidiTimeAxisView* mt = dynamic_cast (&view); - if (mt) { - route = mt->route(); - } - } - } + if (at) { + route = at->route(); + } else { + MidiTimeAxisView* mt = dynamic_cast (&view); + if (mt) { + route = mt->route(); + } + } + } if (current_mixer_strip->route() == route) { return; } - if (route) { - current_mixer_strip->set_route (route); - current_mixer_strip->set_width_enum (editor_mixer_strip_width, (void*) this); - } + if (route) { + current_mixer_strip->set_route (route); + current_mixer_strip->set_width_enum (editor_mixer_strip_width, (void*) this); + } } void Editor::current_mixer_strip_hidden () { - Glib::RefPtr act = ActionManager::get_action (X_("Editor"), X_("show-editor-mixer")); + Glib::RefPtr act = ActionManager::get_action (X_("Editor"), X_("show-editor-mixer")); if (act) { Glib::RefPtr tact = Glib::RefPtr::cast_dynamic(act); tact->set_active (false); -- cgit v1.2.3