NO-OP: add a few spaces before function args

This commit is contained in:
Paul Davis 2017-01-23 21:48:01 +01:00
parent 8b453f5f2a
commit 4a03572cd9

View file

@ -96,10 +96,10 @@ MidiModel::new_patch_change_diff_command (const string& name)
void void
MidiModel::apply_command(Session& session, Command* cmd) MidiModel::apply_command(Session& session, Command* cmd)
{ {
session.begin_reversible_command(cmd->name()); session.begin_reversible_command (cmd->name());
(*cmd)(); (*cmd)();
session.commit_reversible_command(cmd); session.commit_reversible_command (cmd);
set_edited(true); set_edited (true);
} }
/** Apply a command as part of a larger reversible transaction /** Apply a command as part of a larger reversible transaction
@ -111,8 +111,8 @@ void
MidiModel::apply_command_as_subcommand(Session& session, Command* cmd) MidiModel::apply_command_as_subcommand(Session& session, Command* cmd)
{ {
(*cmd)(); (*cmd)();
session.add_command(cmd); session.add_command (cmd);
set_edited(true); set_edited (true);
} }
/************** DIFF COMMAND ********************/ /************** DIFF COMMAND ********************/