From 868a3d0906bbd3659670e089b0c7040f943fe52d Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 12 Mar 2008 22:55:41 -0300 Subject: [PATCH] Formatting int: add braces. --- lily/note-collision.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lily/note-collision.cc b/lily/note-collision.cc index bcdd36b4d5..b4e353d978 100644 --- a/lily/note-collision.cc +++ b/lily/note-collision.cc @@ -178,11 +178,13 @@ check_meshing_chords (Grob *me, make sure the dotted heads go to the right. */ bool stem_to_stem = false; if (full_collide) - if (Rhythmic_head::dot_count (head_up) > Rhythmic_head::dot_count (head_down)) - shift_amount = 1; - else if (Rhythmic_head::dot_count (head_up) < Rhythmic_head::dot_count (head_down)) - stem_to_stem = true; - + { + if (Rhythmic_head::dot_count (head_up) > Rhythmic_head::dot_count (head_down)) + shift_amount = 1; + else if (Rhythmic_head::dot_count (head_up) < Rhythmic_head::dot_count (head_down)) + stem_to_stem = true; + } + if (merge_possible) { shift_amount = 0; -- 2.39.5