From 58d0fa72407fbb3c068147abf680c46f5abf14ab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Jan 2013 01:08:43 +0000 Subject: [PATCH] Fix whitespace. git-svn-id: svn://localhost/ardour2/branches/3.0@13935 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.cc | 4 +--- libs/ardour/import.cc | 9 +++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index f680a44f90..bff4f4d6be 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -3701,10 +3701,8 @@ MidiRegionView::data_recorded (boost::weak_ptr w) Evoral::MusicalTime const time_beats = converter.from (ev.time () - converter.origin_b ()); if (ev.type() == MIDI_CMD_NOTE_ON) { - boost::shared_ptr note ( - new NoteType (ev.channel(), time_beats, 0, ev.note(), ev.velocity()) - ); + new NoteType (ev.channel(), time_beats, 0, ev.note(), ev.velocity())); add_note (note, true); diff --git a/libs/ardour/import.cc b/libs/ardour/import.cc index 161841222e..07c7958ad7 100644 --- a/libs/ardour/import.cc +++ b/libs/ardour/import.cc @@ -420,10 +420,11 @@ write_midi_data_to_new_files (Evoral::SMF* source, ImportStatus& status, first = false; } - smfs->append_event_unlocked_beats(Evoral::Event(0, - (double)t / (double)source->ppqn(), - size, - buf)); + smfs->append_event_unlocked_beats( + Evoral::Event(0, + (double)t / (double)source->ppqn(), + size, + buf)); if (status.progress < 0.99) { status.progress += 0.01;