]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/slur-engraver.cc
* lily/dynamic-engraver.cc (typeset_all):
[lilypond.git] / lily / slur-engraver.cc
index 7d7abf2440934e6206ea40f403e576c7cf09f0fd..695bfb505d7b17eb5ce6eff999fe056a0e1ab6cf 100644 (file)
@@ -154,15 +154,13 @@ Slur_engraver::process_music ()
        }
       else  if (d == START)
        {
-         // push a new slur onto stack.
-         // (use temp. array to wait for all slur STOPs)
-         Grobslur = make_spanner ("Slur", slur_ev->self_scm ());
+         /* push a new slur onto stack.
+            (use temp. array to wait for all slur STOPs) */
+         Grob *slur = make_spanner ("Slur", slur_ev->self_scm ());
 
          if (Direction updown = to_dir (slur_ev->get_property ("direction")))
-           {
-             slur->set_property ("direction", scm_int2num (updown));
-           }
-         
+           slur->set_property ("direction", scm_int2num (updown));
+
          start_slurs.push (slur);
          events_.push (slur_ev);
        }