From: Han-Wen Nienhuys Date: Thu, 13 Mar 2008 01:55:41 +0000 (-0300) Subject: Formatting int: add braces. X-Git-Tag: release/2.11.43-1~40^2^2~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=868a3d0906bbd3659670e089b0c7040f943fe52d;p=lilypond.git Formatting int: add braces. --- 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;