diff options
-rw-r--r-- | gtk2_ardour/editor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index ba01d4e018..7a2f51c5cc 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -2998,11 +2998,11 @@ Editor::snap_to_internal (MusicSample& start, RoundMode direction, SnapPref pref prev--; } - if ((direction == RoundUpMaybe || direction == RoundUpAlways)) + if ((direction == RoundUpMaybe || direction == RoundUpAlways)) { test = *next; - else if ((direction == RoundDownMaybe || direction == RoundDownAlways)) + } else if ((direction == RoundDownMaybe || direction == RoundDownAlways)) { test = *prev; - else if (direction == 0) { + } else if (direction == 0) { if ((presnap - *prev) < (*next - presnap)) { test = *prev; } else { |