summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2017-06-17 03:24:29 +1000
committernick_m <mainsbridge@gmail.com>2017-07-22 02:15:20 +1000
commitc54978bd5cc9cc8c05baf6e5799b900f041f9e8d (patch)
treeaf582aa14ef4fc92be9a1d61c3e6d4ee2b9da1f6 /gtk2_ardour
parentc9617b4b16c7d5c7d9f97abf9c61ce3025371b03 (diff)
Add missing braces to Editor::cut_copy conditional
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_ops.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index b48b1f169b..512648993c 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -4192,8 +4192,9 @@ Editor::cut_copy (CutCopyOp op)
}
}
- if ( op != Delete ) //"Delete" doesn't change copy/paste buf
+ if ( op != Delete ) { //"Delete" doesn't change copy/paste buf
cut_buffer->clear ();
+ }
if (entered_marker) {