From ed7e0a4166ac51c9d1d014c256e8e067b66efc89 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 20 Dec 2022 21:54:35 -0700 Subject: [PATCH] snap: add missing break statements. oops! --- gtk2_ardour/editor.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index cf6c830a79..1b5fd4c054 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -2965,8 +2965,10 @@ Editor::snap_to_bbt (timepos_t const & presnap, Temporal::RoundMode direction, S break; case RoundUpAlways: bbt = bbt.round_up_to_bar (); + break; case RoundNearest: bbt = m.round_to_bar (bbt); + break; default: break; }