]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rest.cc
patch::: 1.5.22.jcn4
[lilypond.git] / lily / rest.cc
index 2efbf78e0417761b5ffee0424dc0c1745f47dd56..9fa2718b5e727bfb8c84615acf2247a0e6a1a745 100644 (file)
@@ -30,7 +30,7 @@ Rest::after_line_breaking (SCM smob)
   if (d && bt > 4) // UGH.
     {
       d->set_grob_property ("staff-position",
-                          gh_int2scm ((bt == 7) ? 4 : 3));
+                           gh_int2scm ((bt == 7) ? 4 : 3));
     }
 
   return SCM_UNSPECIFIED;
@@ -78,11 +78,12 @@ Rest::brew_internal_molecule (SCM smob)
   SCM balltype_scm = me->get_grob_property ("duration-log");
   if (!gh_number_p (balltype_scm))
     return Molecule ().smobbed_copy ();
+
   int balltype = gh_scm2int (balltype_scm);
   
   String style; 
   SCM style_sym =me->get_grob_property ("style");
-  if (balltype >= 2 && gh_symbol_p (style_sym))
+  if (gh_symbol_p (style_sym))
     {
       style = ly_scm2string (scm_symbol_to_string (style_sym));
     }