]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spanner.cc
* lily/spanner.cc (find_broken_piece):
[lilypond.git] / lily / spanner.cc
index f8726a864709386c9efdea83193d554150e4ebbd..5d11fb1bc25598220004ae7fd3408f47d456e7fb 100644 (file)
@@ -327,14 +327,10 @@ Spanner::set_spacing_rods (SCM smob)
   Spanner *sp = dynamic_cast<Spanner *> (me);
   r.item_drul_[LEFT] = sp->get_bound (LEFT);
   r.item_drul_[RIGHT] = sp->get_bound (RIGHT);
+  r.distance_
+    = robust_scm2double (me->get_property ("minimum-length"), 0);
 
-  SCM num_length = me->get_property ("minimum-length");
-  if (scm_is_number (num_length))
-    {
-      r.distance_ = robust_scm2double (num_length, 0);
-      r.add_to_cols ();
-    }
-  
+  r.add_to_cols ();
   return SCM_UNSPECIFIED;
 }