diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-30 17:21:57 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-30 17:25:07 -0600 |
commit | 04635896d44301f3a072e715052afcfbabf69e30 (patch) | |
tree | 9811ddf720378b902defebf6aa40915a20c64cff | |
parent | 6fec78221f07fc9ab0d687580ce2d9c5f97ef83b (diff) |
add braces as per coding guide
-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 { |