summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_model.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-15 01:16:24 +0000
committerDavid Robillard <d@drobilla.net>2011-03-15 01:16:24 +0000
commitbe3002c239219e0829dc24ae7e1f93af557c4cf8 (patch)
tree7aadcc4d17ec31232f5f78db1f40f73a0cbfc9ee /libs/ardour/midi_model.cc
parent148c1f805bca9d459d9a24a6b5c8d5f277680a9e (diff)
Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9152 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r--libs/ardour/midi_model.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc
index b7b781cec9..1691380c93 100644
--- a/libs/ardour/midi_model.cc
+++ b/libs/ardour/midi_model.cc
@@ -1,6 +1,6 @@
/*
Copyright (C) 2007 Paul Davis
- Author: Dave Robillard
+ Author: David Robillard
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -164,7 +164,7 @@ MidiModel::NoteDiffCommand::change (const NotePtr note, Property prop,
assert (note);
NoteChange change;
-
+
switch (prop) {
case NoteNumber:
if (new_value == note->note()) {
@@ -1345,7 +1345,7 @@ MidiModel::write_to (boost::shared_ptr<MidiSource> source)
source->mark_streaming_write_completed();
set_edited(false);
-
+
return true;
}
@@ -1375,7 +1375,7 @@ MidiModel::sync_to_source ()
ms->mark_streaming_write_completed ();
set_edited (false);
-
+
return true;
}
@@ -1606,8 +1606,9 @@ MidiModel::resolve_overlaps_unlocked (const NotePtr note, void* arg)
continue;
}
- DEBUG_TRACE (DEBUG::Sequence, string_compose ("\toverlap is %1 for (%2,%3) vs (%4,%5)\n", enum_2_string(overlap),
- sa, ea, sb, eb));
+ DEBUG_TRACE (DEBUG::Sequence, string_compose (
+ "\toverlap is %1 for (%2,%3) vs (%4,%5)\n",
+ enum_2_string(overlap), sa, ea, sb, eb));
if (insert_merge_policy() == InsertMergeReject) {
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 just reject\n", this));
@@ -1762,7 +1763,7 @@ MidiModel::insert_merge_policy () const
return ms->session().config.get_insert_merge_policy ();
}
-
+
void
MidiModel::set_midi_source (boost::shared_ptr<MidiSource> s)
{