NO-OP: whitespace

This commit is contained in:
Robin Gareus 2017-06-23 23:42:42 +02:00
parent d405b2dd6c
commit 92fb6325e3

View file

@ -1538,8 +1538,9 @@ RouteTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
switch (op) { switch (op) {
case Delete: case Delete:
if (playlist->cut (time) != 0) { if (playlist->cut (time) != 0) {
if (Config->get_edit_mode() == Ripple) if (Config->get_edit_mode() == Ripple) {
playlist->ripple(time.start(), -time.length(), NULL); playlist->ripple(time.start(), -time.length(), NULL);
}
// no need to exclude any regions from rippling here // no need to exclude any regions from rippling here
vector<Command*> cmds; vector<Command*> cmds;
@ -1553,8 +1554,9 @@ RouteTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
case Cut: case Cut:
if ((what_we_got = playlist->cut (time)) != 0) { if ((what_we_got = playlist->cut (time)) != 0) {
_editor.get_cut_buffer().add (what_we_got); _editor.get_cut_buffer().add (what_we_got);
if (Config->get_edit_mode() == Ripple) if (Config->get_edit_mode() == Ripple) {
playlist->ripple(time.start(), -time.length(), NULL); playlist->ripple(time.start(), -time.length(), NULL);
}
// no need to exclude any regions from rippling here // no need to exclude any regions from rippling here
vector<Command*> cmds; vector<Command*> cmds;
@ -1572,8 +1574,9 @@ RouteTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
case Clear: case Clear:
if ((what_we_got = playlist->cut (time)) != 0) { if ((what_we_got = playlist->cut (time)) != 0) {
if (Config->get_edit_mode() == Ripple) if (Config->get_edit_mode() == Ripple) {
playlist->ripple(time.start(), -time.length(), NULL); playlist->ripple(time.start(), -time.length(), NULL);
}
// no need to exclude any regions from rippling here // no need to exclude any regions from rippling here
vector<Command*> cmds; vector<Command*> cmds;
@ -1673,7 +1676,6 @@ RouteTimeAxisView::build_playlist_menu ()
if (tr->playlist()->id() == (*i)->id()) { if (tr->playlist()->id() == (*i)->id()) {
item->set_active(); item->set_active();
} }
} }