]> git.donarmstrong.com Git - lilypond.git/commitdiff
Formatting int: add braces.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 13 Mar 2008 01:55:41 +0000 (22:55 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 13 Mar 2008 01:55:41 +0000 (22:55 -0300)
lily/note-collision.cc

index bcdd36b4d5ec4aca26399868c5992b4d605dc01d..b4e353d978a16a5693e015b136494f596fb36a25 100644 (file)
@@ -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;