aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/ActionFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-12 03:17:47 +0000
committerDavid Robillard <d@drobilla.net>2013-01-12 03:17:47 +0000
commite1a63732f796c8057751cb7f8ac98a595b91692e (patch)
tree764392d055901118ee285dd20f233ff33e0cd04a /src/engine/ActionFactory.cpp
parentbb62bf2c23ba84f547e37b70b3ef31b51ba987ab (diff)
downloadmachina-e1a63732f796c8057751cb7f8ac98a595b91692e.tar.gz
machina-e1a63732f796c8057751cb7f8ac98a595b91692e.tar.bz2
machina-e1a63732f796c8057751cb7f8ac98a595b91692e.zip
Bulk reformat.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4929 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/ActionFactory.cpp')
-rw-r--r--src/engine/ActionFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/ActionFactory.cpp b/src/engine/ActionFactory.cpp
index b6a1cc1..92bc114 100644
--- a/src/engine/ActionFactory.cpp
+++ b/src/engine/ActionFactory.cpp
@@ -24,10 +24,11 @@ SharedPtr<Action>
ActionFactory::copy(SharedPtr<Action> copy)
{
SharedPtr<MidiAction> ma = PtrCast<MidiAction>(copy);
- if (ma)
+ if (ma) {
return SharedPtr<Action>(new MidiAction(ma->event_size(), ma->event()));
- else
+ } else {
return SharedPtr<Action>();
+ }
}
SharedPtr<Action>
@@ -53,4 +54,3 @@ ActionFactory::note_off(unsigned char note)
}
} // namespace Machine
-