braces, please
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 8 Dec 2016 09:44:26 +0000 (09:44 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 8 Dec 2016 10:49:26 +0000 (10:49 +0000)
gtk2_ardour/editor.cc

index f23f6b22f47b8c3bb8fd62ec0d094f96ce3d8b97..ea71b5ba0d457986960aa055ad57d6cec5ab0da3 100644 (file)
@@ -4659,9 +4659,11 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_
        framepos_t where = 0;
        EditPoint ep = _edit_point;
 
-       if (Profile->get_mixbus())
-               if (ep == EditAtSelectedMarker)
+       if (Profile->get_mixbus()) {
+               if (ep == EditAtSelectedMarker) {
                        ep = EditAtPlayhead;
+               }
+       }
 
        if (from_outside_canvas && (ep == EditAtMouse)) {
                ep = EditAtPlayhead;